https://github.com/ladjs/state-helper
State helper for Lad
https://github.com/ladjs/state-helper
Last synced: 6 months ago
JSON representation
State helper for Lad
- Host: GitHub
- URL: https://github.com/ladjs/state-helper
- Owner: ladjs
- License: mit
- Created: 2017-11-22T00:01:27.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2022-07-21T06:35:21.000Z (over 3 years ago)
- Last Synced: 2025-05-29T19:50:31.737Z (8 months ago)
- Language: JavaScript
- Homepage: https://lad.js.org
- Size: 191 KB
- Stars: 1
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# state-helper
[](https://github.com/ladjs/state-helper/actions/workflows/ci.yml)
[](https://github.com/sindresorhus/xo)
[](https://github.com/prettier/prettier)
[](https://lass.js.org)
[](LICENSE)
> State helper for Lad
## Table of Contents
* [Install](#install)
* [Usage](#usage)
* [Contributors](#contributors)
* [License](#license)
## Install
[npm][]:
```sh
npm install state-helper
```
## Usage
```js
const StateHelper = require('@ladjs/state-helper');
const stateHelper = new StateHelper({
// ...
});
// ..
// add dynamic view helpers
app.use(stateHelper.middleware);
```
## Contributors
| Name | Website |
| -------------- | -------------------------- |
| **Nick Baugh** | |
## License
[MIT](LICENSE) © [Nick Baugh](http://niftylettuce.com/)
##
[npm]: https://www.npmjs.com/