@stacksjs/modules

0.57.4 • Public • Published

Stacks Modules

A custom user module system. Place a .ts file with the following template & it will be installed automatically.

🤖 Usage

pnpm i -D @stacksjs/modules

Now, you can use it in your project:

import { type UserModule } from '@stacksjs/types'

export const install: UserModule = ({ app, router, isClient }) => {
  // do something
}

Learn more in the docs.

🧪 Testing

pnpm test

📈 Changelog

Please see our releases page for more information on what has changed recently.

🚜 Contributing

Please review the Contributing Guide for details.

🏝 Community

For help, discussion about best practices, or any other conversation that would benefit from being searchable:

Discussions on GitHub

For casual chit-chat with others using this package:

Join the Stacks Discord Server

📄 License

The MIT License (MIT). Please see LICENSE for more information.

Made with ❤️

Package Sidebar

Install

npm i @stacksjs/modules

Weekly Downloads

5

Version

0.57.4

License

MIT

Unpacked Size

4.42 kB

Total Files

9

Last publish

Collaborators

  • chrisbreuer