{"id":14989620,"url":"https://github.com/ladjs/state-helper","last_synced_at":"2026-02-04T16:07:45.537Z","repository":{"id":42367805,"uuid":"111615263","full_name":"ladjs/state-helper","owner":"ladjs","description":"State helper for Lad","archived":false,"fork":false,"pushed_at":"2022-07-21T06:35:21.000Z","size":196,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-05-29T19:50:31.737Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://lad.js.org","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ladjs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-11-22T00:01:27.000Z","updated_at":"2022-07-02T00:37:27.000Z","dependencies_parsed_at":"2022-09-02T21:22:57.322Z","dependency_job_id":null,"html_url":"https://github.com/ladjs/state-helper","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/ladjs/state-helper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ladjs%2Fstate-helper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ladjs%2Fstate-helper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ladjs%2Fstate-helper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ladjs%2Fstate-helper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ladjs","download_url":"https://codeload.github.com/ladjs/state-helper/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ladjs%2Fstate-helper/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259964329,"owners_count":22938724,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-24T14:18:39.608Z","updated_at":"2026-02-04T16:07:40.519Z","avatar_url":"https://github.com/ladjs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# state-helper\n\n[![build status](https://github.com/ladjs/state-helper/actions/workflows/ci.yml/badge.svg)](https://github.com/ladjs/state-helper/actions/workflows/ci.yml)\n[![code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/sindresorhus/xo)\n[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier)\n[![made with lass](https://img.shields.io/badge/made_with-lass-95CC28.svg)](https://lass.js.org)\n[![license](https://img.shields.io/github/license/ladjs/state-helper.svg)](LICENSE)\n\n\u003e State helper for Lad\n\n\n## Table of Contents\n\n* [Install](#install)\n* [Usage](#usage)\n* [Contributors](#contributors)\n* [License](#license)\n\n\n## Install\n\n[npm][]:\n\n```sh\nnpm install state-helper\n```\n\n\n## Usage\n\n```js\nconst StateHelper = require('@ladjs/state-helper');\n\nconst stateHelper = new StateHelper({\n  // ...\n});\n\n// ..\n\n// add dynamic view helpers\napp.use(stateHelper.middleware);\n```\n\n\n## Contributors\n\n| Name           | Website                    |\n| -------------- | -------------------------- |\n| **Nick Baugh** | \u003chttp://niftylettuce.com/\u003e |\n\n\n## License\n\n[MIT](LICENSE) © [Nick Baugh](http://niftylettuce.com/)\n\n\n##\n\n[npm]: https://www.npmjs.com/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fladjs%2Fstate-helper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fladjs%2Fstate-helper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fladjs%2Fstate-helper/lists"}