{"id":20315795,"url":"https://github.com/flipeador/js-dictionary","last_synced_at":"2026-05-18T04:41:43.357Z","repository":{"id":157621902,"uuid":"599138486","full_name":"flipeador/js-dictionary","owner":"flipeador","description":"Javascript Map with temporary elements and additional utility methods.","archived":false,"fork":false,"pushed_at":"2023-08-15T15:41:08.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-27T07:46:51.635Z","etag":null,"topics":["browser","collection","dictionary","javascript","map","nodejs","temporary"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flipeador.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":"2023-02-08T14:32:25.000Z","updated_at":"2023-08-15T15:22:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"817b66c4-7567-438c-91e2-97ab2cf6805f","html_url":"https://github.com/flipeador/js-dictionary","commit_stats":null,"previous_names":["flipeador/js-dictionary"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/flipeador/js-dictionary","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flipeador%2Fjs-dictionary","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flipeador%2Fjs-dictionary/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flipeador%2Fjs-dictionary/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flipeador%2Fjs-dictionary/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flipeador","download_url":"https://codeload.github.com/flipeador/js-dictionary/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flipeador%2Fjs-dictionary/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273936048,"owners_count":25194094,"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","status":"online","status_checked_at":"2025-09-06T02:00:13.247Z","response_time":2576,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["browser","collection","dictionary","javascript","map","nodejs","temporary"],"created_at":"2024-11-14T18:21:48.963Z","updated_at":"2026-05-18T04:41:43.308Z","avatar_url":"https://github.com/flipeador.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JavaScript Dictionary\n\nJavaScript Map with temporary elements and additional utility methods.\n\n## Installation\n\n```\nnpm i flipeador/js-dictionary#semver:^1.0.0\n```\n\n## Example\n\n```js\nimport { Dict } from '@flipeador/js-dictionary';\n\nconst map = new Dict();\n\nmap.set('key', 'never expires');\nmap.set('key', 'expires in 1 second', 1000); // set timer\nmap.set('key', 'expires in less than a second', null); // keep current timer\nmap.set('key', 'expires in 1 second'); // refresh timer\nmap.get('key', false); // keep current timer\nmap.get('key'); // refresh timer\nmap.set('key', 'never expires', 0); // remove timer\n\nconsole.log(map); // Dict(1) [Map] { 'key' =\u003e 'never expires' }\n```\n\n## License\n\nThis project is licensed under the **Apache License 2.0**. See the [license file](LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflipeador%2Fjs-dictionary","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflipeador%2Fjs-dictionary","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflipeador%2Fjs-dictionary/lists"}