{"id":18879804,"url":"https://github.com/gusenov/tag-reg-js","last_synced_at":"2025-06-29T15:33:10.618Z","repository":{"id":65514028,"uuid":"102253801","full_name":"gusenov/tag-reg-js","owner":"gusenov","description":":label: JavaScript структура данных для хранения записей вида ключ-значение, где ключ - это набор тегов.","archived":false,"fork":false,"pushed_at":"2018-06-19T16:03:01.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-05-31T06:36:36.493Z","etag":null,"topics":["bitmask","data-structures","javascript","javascript-library","key-value","tags"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/tag-reg","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/gusenov.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":"2017-09-03T09:26:25.000Z","updated_at":"2019-02-15T09:06:02.000Z","dependencies_parsed_at":"2023-01-26T20:55:17.803Z","dependency_job_id":null,"html_url":"https://github.com/gusenov/tag-reg-js","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/gusenov/tag-reg-js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gusenov%2Ftag-reg-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gusenov%2Ftag-reg-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gusenov%2Ftag-reg-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gusenov%2Ftag-reg-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gusenov","download_url":"https://codeload.github.com/gusenov/tag-reg-js/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gusenov%2Ftag-reg-js/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261607522,"owners_count":23183994,"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":["bitmask","data-structures","javascript","javascript-library","key-value","tags"],"created_at":"2024-11-08T06:39:36.695Z","updated_at":"2025-06-29T15:33:10.601Z","avatar_url":"https://github.com/gusenov.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Пример использования](example1.js)\n\n```js\nvar dataStore = new TagRegistry();\n    \ndataStore.set([\"K1\", \"K2\"], \"AAA\");\nconsole.log(dataStore.get([\"K1\", \"K2\"])); // AAA\nconsole.log(dataStore.get([\"K2\", \"K1\"])); // AAA\n\ndataStore.set([\"K1\", \"K3\", \"K2\"], \"BBB\");\nconsole.log(dataStore.get([\"K1\", \"K2\", \"K3\"])); // BBB\nconsole.log(dataStore.get([\"K1\", \"K3\", \"K2\"])); // BBB\nconsole.log(dataStore.get([\"K2\", \"K1\", \"K3\"])); // BBB\nconsole.log(dataStore.get([\"K2\", \"K3\", \"K1\"])); // BBB\nconsole.log(dataStore.get([\"K3\", \"K1\", \"K2\"])); // BBB\nconsole.log(dataStore.get([\"K3\", \"K2\", \"K1\"])); // BBB\n```\n\nВывод:\n\n```text\n$ node example1.js \nAAA\nAAA\nBBB\nBBB\nBBB\nBBB\nBBB\nBBB\n```\n\n# Публикация npm-пакета\n\nФиксация изменений:\n\n```bash\n$ git add .\n$ git commit -S -m \"0.0.1\"\n$ git tag -s v0.0.1 -m 'signed 0.0.1 tag'\n```\n\nОтправка на [github.com](https://github.com/gusenov/tag-reg-js):\n\n```bash\n$ git push --tags origin master:master\n```\n\nОтправка на [npmjs.com](https://www.npmjs.com/package/tag-reg):\n\n```bash\n$ npm login\n$ npm publish\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgusenov%2Ftag-reg-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgusenov%2Ftag-reg-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgusenov%2Ftag-reg-js/lists"}