@stacksjs/modules

0.53.1 โ€ข 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@0.53.1

Version

0.53.1

License

MIT

Unpacked Size

4.35 kB

Total Files

9

Last publish

Collaborators

  • chrisbreuer