{"id":15853860,"url":"https://github.com/blakeembrey/node-bit-string-mask","last_synced_at":"2025-10-25T23:07:28.496Z","repository":{"id":66011026,"uuid":"88934223","full_name":"blakeembrey/node-bit-string-mask","owner":"blakeembrey","description":"Mask a string using bits from an input number","archived":false,"fork":false,"pushed_at":"2023-12-12T06:12:12.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-08T23:27:27.586Z","etag":null,"topics":["binary","bits","string-manipulation"],"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/blakeembrey.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":"SECURITY.md","support":null,"governance":null}},"created_at":"2017-04-21T03:12:23.000Z","updated_at":"2023-12-12T06:12:15.000Z","dependencies_parsed_at":"2023-12-12T07:25:34.298Z","dependency_job_id":null,"html_url":"https://github.com/blakeembrey/node-bit-string-mask","commit_stats":{"total_commits":5,"total_committers":2,"mean_commits":2.5,"dds":"0.19999999999999996","last_synced_commit":"48ec212ef887c25b9bd257fb19b1da2f19206774"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/blakeembrey/node-bit-string-mask","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blakeembrey%2Fnode-bit-string-mask","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blakeembrey%2Fnode-bit-string-mask/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blakeembrey%2Fnode-bit-string-mask/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blakeembrey%2Fnode-bit-string-mask/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blakeembrey","download_url":"https://codeload.github.com/blakeembrey/node-bit-string-mask/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blakeembrey%2Fnode-bit-string-mask/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265060607,"owners_count":23705234,"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":["binary","bits","string-manipulation"],"created_at":"2024-10-05T19:23:24.891Z","updated_at":"2025-10-25T23:07:23.453Z","avatar_url":"https://github.com/blakeembrey.png","language":"TypeScript","readme":"# Bit String Mask\n\n[![NPM version][npm-image]][npm-url]\n[![NPM downloads][downloads-image]][downloads-url]\n[![Build status][travis-image]][travis-url]\n[![Test coverage][coveralls-image]][coveralls-url]\n\n\u003e Mask a string using bits from an input number.\n\n## Installation\n\n```\nnpm install bit-string-mask --save\n```\n\n## Usage\n\n```ts\nimport { mask } from 'bit-string-mask'\n\nmask('test', 0) //=\u003e \"test\"\nmask('test', 1) //=\u003e \"Test\"\nmask('test', 2) //=\u003e \"tEst\"\n```\n\n## TypeScript\n\nThis project is written using [TypeScript](https://github.com/Microsoft/TypeScript) and publishes the definitions directly to NPM.\n\n## License\n\nMIT\n\n[npm-image]: https://img.shields.io/npm/v/bit-string-mask.svg?style=flat\n[npm-url]: https://npmjs.org/package/bit-string-mask\n[downloads-image]: https://img.shields.io/npm/dm/bit-string-mask.svg?style=flat\n[downloads-url]: https://npmjs.org/package/bit-string-mask\n[travis-image]: https://img.shields.io/travis/blakeembrey/node-bit-string-mask.svg?style=flat\n[travis-url]: https://travis-ci.org/blakeembrey/node-bit-string-mask\n[coveralls-image]: https://img.shields.io/coveralls/blakeembrey/node-bit-string-mask.svg?style=flat\n[coveralls-url]: https://coveralls.io/r/blakeembrey/node-bit-string-mask?branch=master\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblakeembrey%2Fnode-bit-string-mask","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblakeembrey%2Fnode-bit-string-mask","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblakeembrey%2Fnode-bit-string-mask/lists"}