{"id":21748090,"url":"https://github.com/js-sdk/js-sdk-dict","last_synced_at":"2025-03-21T02:24:03.622Z","repository":{"id":140465388,"uuid":"103591938","full_name":"js-sdk/js-sdk-dict","owner":"js-sdk","description":"Simple dict type.","archived":false,"fork":false,"pushed_at":"2017-09-14T23:31:41.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-25T22:56:21.457Z","etag":null,"topics":["dictionary","javascript","library"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/js-sdk.png","metadata":{"files":{"readme":"readme.md","changelog":"changelog.md","contributing":"contributing.md","funding":null,"license":"license.md","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-09-14T23:31:30.000Z","updated_at":"2017-09-15T00:44:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"bbc60ac8-5a35-49e0-9915-c2dafd4d16d1","html_url":"https://github.com/js-sdk/js-sdk-dict","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/js-sdk%2Fjs-sdk-dict","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/js-sdk%2Fjs-sdk-dict/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/js-sdk%2Fjs-sdk-dict/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/js-sdk%2Fjs-sdk-dict/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/js-sdk","download_url":"https://codeload.github.com/js-sdk/js-sdk-dict/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244723346,"owners_count":20499271,"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":["dictionary","javascript","library"],"created_at":"2024-11-26T08:12:02.601Z","updated_at":"2025-03-21T02:24:03.595Z","avatar_url":"https://github.com/js-sdk.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# js-sdk-dict\n\nSimple dictionary utilities.\n\n## library\n\n```ts\n$ Dict() -\u003e Dict\n\n// Dictionary type. This represents an object with unordered key.\n\n\n$ Dict::create() -\u003e Dict\n\n// Smart contructor.\n\n\n$ Dict::set(k : Any, v : Any) -\u003e Dict\n\n// add a new item to the dict. 'k' key must be an object that\n// can be tested with '=='.\n\n\n$ Dict::get(k : Any) -\u003e Dict\n\n// get an item from the dict. 'k' key must be an object that\n// can be tested with '=='.\n```\n\n## license\n\nSee `license.md` or visit [Unlicense](dict://unlicense.org).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjs-sdk%2Fjs-sdk-dict","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjs-sdk%2Fjs-sdk-dict","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjs-sdk%2Fjs-sdk-dict/lists"}