{"id":23084153,"url":"https://github.com/localforage/localforage-typescript-plugin-boilerplate","last_synced_at":"2025-04-03T14:40:59.640Z","repository":{"id":66104166,"uuid":"100174920","full_name":"localForage/localForage-typescript-plugin-boilerplate","owner":"localForage","description":"A simple typescript plugin boilerplate for localForage.","archived":false,"fork":false,"pushed_at":"2020-04-26T14:24:24.000Z","size":24,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-09T03:27:09.581Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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":"2017-08-13T12:25:17.000Z","updated_at":"2023-08-27T03:52:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"1e5d3b67-368b-4b27-a4f1-dfd7420e4023","html_url":"https://github.com/localForage/localForage-typescript-plugin-boilerplate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localForage%2FlocalForage-typescript-plugin-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localForage%2FlocalForage-typescript-plugin-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localForage%2FlocalForage-typescript-plugin-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localForage%2FlocalForage-typescript-plugin-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/localForage","download_url":"https://codeload.github.com/localForage/localForage-typescript-plugin-boilerplate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247022467,"owners_count":20870797,"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:16.306Z","updated_at":"2025-04-03T14:40:59.607Z","avatar_url":"https://github.com/localForage.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"localForage-typescript-plugin-boilerplate\n==============================\n[![Build Status](https://travis-ci.org/localForage/localForage-typescript-plugin-boilerplate.svg?branch=master)](https://travis-ci.org/localForage/localForage-typescript-plugin-boilerplate)\n[![npm](https://img.shields.io/npm/dm/localforage-typescript-plugin-boilerplate.svg)](https://www.npmjs.com/package/localforage-typescript-plugin-boilerplate)\n\nA simple TypeScript plugin boilerplate for [localForage](https://github.com/mozilla/localForage).\n\n## Requirements\n\n* [localForage](https://github.com/mozilla/localForage) v1.5.0+\n\n## Installation\n`npm i localforage-typescript-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-typescript-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.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-typescript-plugin-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flocalforage%2Flocalforage-typescript-plugin-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flocalforage%2Flocalforage-typescript-plugin-boilerplate/lists"}