{"id":19166916,"url":"https://github.com/thomaschaplin/cusip-generator","last_synced_at":"2025-05-07T13:40:23.492Z","repository":{"id":37070492,"uuid":"208026218","full_name":"thomaschaplin/cusip-generator","owner":"thomaschaplin","description":"🆔 Committee on Uniform Securities Identification Procedures (CUSIP) generator","archived":false,"fork":false,"pushed_at":"2023-09-20T21:34:55.000Z","size":555,"stargazers_count":3,"open_issues_count":6,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-13T16:16:57.170Z","etag":null,"topics":["bonds","cusip","finance","fintech","isin"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/thomaschaplin.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["thomaschaplin"]}},"created_at":"2019-09-12T10:35:25.000Z","updated_at":"2023-07-07T14:20:03.000Z","dependencies_parsed_at":"2024-06-21T13:02:25.991Z","dependency_job_id":"d5f5050e-87fa-42b7-88c3-3b4548824de2","html_url":"https://github.com/thomaschaplin/cusip-generator","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomaschaplin%2Fcusip-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomaschaplin%2Fcusip-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomaschaplin%2Fcusip-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomaschaplin%2Fcusip-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thomaschaplin","download_url":"https://codeload.github.com/thomaschaplin/cusip-generator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252888796,"owners_count":21820066,"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":["bonds","cusip","finance","fintech","isin"],"created_at":"2024-11-09T09:34:50.934Z","updated_at":"2025-05-07T13:40:23.413Z","avatar_url":"https://github.com/thomaschaplin.png","language":"TypeScript","funding_links":["https://github.com/sponsors/thomaschaplin"],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"assets/logo.png\" alt=\"logo\" width=\"201\" height=\"245\" /\u003e\n\n# cusip-generator\n\ncusip-generator is a [Node.js](https://nodejs.org/en/) library to generate\nrandom CUSIP with a single API.\n\nCUSIP stands for Committee on Uniform Securities Identification Procedures. A\nCUSIP number identifies most financial instruments, including: stocks of all\nregistered U.S. and Canadian companies, commercial paper, and U.S. government\nand municipal bonds.\n\n## Usage\n\n`npm i @thomaschaplin/cusip-generator`\n\n### Example Usage\n\n#### ES5\n\n```js\nconst generateCusip = require(\"@thomaschaplin/cusip-generator\");\nconsole.log(generateCusip.generateCusip()); // 327492T38\n```\n\nor\n\n```js\nconst { generateCusip } = require(\"@thomaschaplin/cusip-generator\");\nconsole.log(generateCusip()); // 5519069J1\n```\n\n#### ES6\n\n```js\nimport { generateCusip } from '@thomaschaplin/cusip-generator')\nconsole.log(generateCusip()) // 112091HZ9\n```\n\n## Setup\n\nMake sure you have [Node.js](https://nodejs.org/en/) installed on your machine\n\n### Development\n\n#### Installation\n\n- Clone this repository\n  `git clone git@github.com:thomaschaplin/cusip-generator.git`\n- Change directory `cd cusip-generator`\n- Install the dependencies `npm install`\n- Transpile the code `npm run build` or `npm run watch`\n\n#### Tests\n\n- Run the tests `npm test`\n- Run the tests with coverage `npm run test:coverage`\n\n## License\n\n[MIT](./LICENSE)\n\n---\n\n[Logo](https://www.clipartkey.com/view/iwiixw_yes-we-offer-both-short-term-interest-free/) graphic by \u003ca href=\"https://www.clipartkey.com/upic/1115/\"\u003ePerlenfuerdiehunde\u003c/a\u003e from ClipArtKey.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthomaschaplin%2Fcusip-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthomaschaplin%2Fcusip-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthomaschaplin%2Fcusip-generator/lists"}