{"id":23084141,"url":"https://github.com/localforage/localforage-plugin-boilerplate","last_synced_at":"2025-06-28T11:32:47.677Z","repository":{"id":66104167,"uuid":"56940811","full_name":"localForage/localForage-plugin-boilerplate","owner":"localForage","description":" A jump-start for localForage plugins development","archived":false,"fork":false,"pushed_at":"2017-08-13T13:33:09.000Z","size":13,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-21T09:06:55.378Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/localForage.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-04-23T21:07:39.000Z","updated_at":"2023-08-27T03:54:49.000Z","dependencies_parsed_at":"2023-07-18T12:30:37.738Z","dependency_job_id":null,"html_url":"https://github.com/localForage/localForage-plugin-boilerplate","commit_stats":null,"previous_names":["localforage-extensions/localforage-plugin-boilerplate"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/localForage/localForage-plugin-boilerplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localForage%2FlocalForage-plugin-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localForage%2FlocalForage-plugin-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localForage%2FlocalForage-plugin-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localForage%2FlocalForage-plugin-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/localForage","download_url":"https://codeload.github.com/localForage/localForage-plugin-boilerplate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localForage%2FlocalForage-plugin-boilerplate/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261095310,"owners_count":23108784,"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-12-16T15:49:15.112Z","updated_at":"2025-06-21T09:07:05.025Z","avatar_url":"https://github.com/localForage.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"localForage-plugin-boilerplate\n==============================\n[![npm](https://img.shields.io/npm/dm/localforage-plugin-boilerplate.svg)](https://www.npmjs.com/package/localforage-plugin-boilerplate)\n\nA simple plugin boilerplate for [localForage](https://github.com/mozilla/localForage).\n\n## Requirements\n\n* [localForage](https://github.com/mozilla/localForage) v1.4.0+\n\n## Installation\n`npm i localforage-plugin-boilerplate`\n\n## API\nThe boilerplate makes the dummy `pluginMethod()` available to all localforage instances.\n```js\nlocalforage.pluginMethod().then(function(result) {\n  console.log(result);\n});\n```\n\n## Create your plugin\n\n* Rename the occurrences  of `pluginMethod`, `localforagePluginBoilerplate` and `_pluginPrivateVariables` in the `lib/localforage-plugin-boilerplate.js` (and the file itself) to something more appropriate for your plugin.\n* Change the respective names in:\n  * `README.md`\n  * `package.json`\n  * `rollup.config.es6.js`\n  * `rollup.config.js`\n  * `rollup.config.umd.js`\n* Provide a simple example in the `examples/index.html`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flocalforage%2Flocalforage-plugin-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flocalforage%2Flocalforage-plugin-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flocalforage%2Flocalforage-plugin-boilerplate/lists"}