{"id":15397040,"url":"https://github.com/drublic/store","last_synced_at":"2025-04-10T12:30:53.106Z","repository":{"id":30525687,"uuid":"34080227","full_name":"drublic/Store","owner":"drublic","description":"A JavaScript lib for storing stuff","archived":false,"fork":false,"pushed_at":"2017-03-21T10:11:38.000Z","size":16,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-07T03:35:24.952Z","etag":null,"topics":["localestorage","pubsub","storing"],"latest_commit_sha":null,"homepage":null,"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/drublic.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":"2015-04-16T20:58:11.000Z","updated_at":"2017-03-21T10:07:44.000Z","dependencies_parsed_at":"2022-09-17T03:31:20.523Z","dependency_job_id":null,"html_url":"https://github.com/drublic/Store","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drublic%2FStore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drublic%2FStore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drublic%2FStore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drublic%2FStore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drublic","download_url":"https://codeload.github.com/drublic/Store/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248217126,"owners_count":21066633,"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":["localestorage","pubsub","storing"],"created_at":"2024-10-01T15:36:02.719Z","updated_at":"2025-04-10T12:30:52.846Z","avatar_url":"https://github.com/drublic.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Store - vanilla-store\n\nA JavaScript storing library\n\n[![Build Status](https://api.travis-ci.org/drublic/Store.svg)](http://travis-ci.org/drublic/Store)\n[![Coverage Status](https://coveralls.io/repos/drublic/Store/badge.svg?branch=master)](https://coveralls.io/r/drublic/Store?branch=master)\n\n## Install\n\n    npm install --save vanilla-store\n\n## API\n\n    Store.create(String category, Array items|Object item);\n    Store.update(String category, Array items|Object item);\n    Store.get(String category, String id);\n    Store.remove(String category, Array items|Object item);\n    Store.clean(String category);\n    Store.restore(String category, Array items);\n\n## PubSub Events\n\n`Store.create`, `Store.update`, `Store.remove` and `Store.clean` all trigger\nevents with [PubSub](https://github.com/drublic/PubSub).\nThese events can be used to trigger actions based on the according events.\n\nCalling `Store.create('Test', {…})` will trigger an event `Test.create`;\n`Store.update('Test', {…})` will trigger `Test.update` and so on.\n\nJust requesting data with `getAll`, `getAllByCategory` and `find` does not\npublish events.\n\n## Dependencies\n\nIf you want to store nested objects with Store please make sure to use a deep\nobject extend function. You can do so by providing a global `extend` function,\ninclude jQuery or Lodash/Underscore.\n\n## Tests\n\nPlease run `npm run test`. Tests are written utilizing Jasmine.\n\n## License\n\nMIT - 2015-2017, Hans Christian Reinl\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrublic%2Fstore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrublic%2Fstore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrublic%2Fstore/lists"}