{"_id":"@canoeh/nocs","_rev":"7-9cf64dc37aff1faf211ef1b0b05ab1e8","name":"@canoeh/nocs","dist-tags":{"latest":"1.2.0"},"versions":{"0.1.0":{"name":"@canoeh/nocs","version":"0.1.0","keywords":["noc","canada","occupation","classification","employment","job","career"],"author":{"name":"Your Name"},"license":"MIT","_id":"@canoeh/nocs@0.1.0","maintainers":[{"name":"sagunkaranjit","email":"karanjit.sagun01@gmail.com"}],"homepage":"https://github.com/sagunji/noc-canada#readme","bugs":{"url":"https://github.com/sagunji/noc-canada/issues"},"dist":{"shasum":"46384ce8987f328d1d137689ed8c78eccbd4f93f","tarball":"https://registry.npmjs.org/@canoeh/nocs/-/nocs-0.1.0.tgz","fileCount":4,"integrity":"sha512-YGB0T9Gk5huHr0OyoAGXR2bvRGv0xJ+AR5wPYpPJ6ErBg3q65wwhxnn1EguNNE4GuFGfZ8JqKid8O/BRUEoXiA==","signatures":[{"sig":"MEUCIQDMJ8AvLp/I4/2irgP/Oxu7w3OT+sY1vPtg+hYsmgHhnQIgaBezvVxeVioxn2Pdy0BQ564X5mmiVhQ+5K5fqw2vppU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":960137},"main":"src/index.js","type":"module","exports":{".":{"import":"./src/index.js"}},"gitHead":"48fc6ee8342c3d637c15dd596eb1d6f1506030df","scripts":{"test":"echo 'No tests yet'","publish":"npm publish --access public"},"_npmUser":{"name":"sagunkaranjit","email":"karanjit.sagun01@gmail.com"},"repository":{"url":"git+https://github.com/sagunji/noc-canada.git","type":"git"},"_npmVersion":"10.2.4","description":"Canadian National Occupational Classification (NOC) data and utilities","directories":{},"_nodeVersion":"21.4.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/nocs_0.1.0_1744676612682_0.372135021353849","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@canoeh/nocs","version":"1.0.0","keywords":["noc","canada","occupation","classification","employment","job","career"],"author":{"name":"Your Name"},"license":"MIT","_id":"@canoeh/nocs@1.0.0","maintainers":[{"name":"sagunkaranjit","email":"karanjit.sagun01@gmail.com"}],"homepage":"https://github.com/sagunji/noc-canada#readme","bugs":{"url":"https://github.com/sagunji/noc-canada/issues"},"dist":{"shasum":"022b139e5c6fa491a3c7566217a190bf5ecbaae9","tarball":"https://registry.npmjs.org/@canoeh/nocs/-/nocs-1.0.0.tgz","fileCount":4,"integrity":"sha512-CmJuo24+JTqlmYyYFDu+xIb4puReXbUoRaInB9dy9714Hjkwm/m4nan/x3bF5Vi4QHoGlvSj5YFMoA/0Cwp7aA==","signatures":[{"sig":"MEQCIGul68ZQ/MSmHeiVoDTISNZH7ubuI5rgJTwEvnxUiL/eAiB1VIrum1QWwxaEHmDaKoEceHqPjZk3cF/obQNe3RZazg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":960137},"main":"src/index.js","type":"module","exports":{".":{"import":"./src/index.js"}},"gitHead":"0198ad184577e9101e16b98c1f38b8b1f8271430","scripts":{"test":"echo 'No tests yet'","publish":"npm publish --access public"},"_npmUser":{"name":"sagunkaranjit","email":"karanjit.sagun01@gmail.com"},"repository":{"url":"git+https://github.com/sagunji/noc-canada.git","type":"git"},"_npmVersion":"10.2.4","description":"Canadian National Occupational Classification (NOC) data and utilities","directories":{},"_nodeVersion":"21.4.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/nocs_1.0.0_1744676850509_0.6864465614271191","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@canoeh/nocs","version":"1.0.1","keywords":["noc","canada","occupation","classification","employment","job","career"],"author":{"name":"Sagun Karanjit"},"license":"MIT","_id":"@canoeh/nocs@1.0.1","maintainers":[{"name":"sagunkaranjit","email":"karanjit.sagun01@gmail.com"}],"homepage":"https://github.com/sagunji/noc-canada#readme","bugs":{"url":"https://github.com/sagunji/noc-canada/issues"},"dist":{"shasum":"a8087c923dbb955d264cc642650ad9ad18622e4e","tarball":"https://registry.npmjs.org/@canoeh/nocs/-/nocs-1.0.1.tgz","fileCount":4,"integrity":"sha512-GSRJaj7dgeB6UStjke5P/ixEY/6qs4U0DBtFUO+k2euAHiVEDcNJx+wR2XeZF0StIy4IvXQi4hRBofiy93VqMw==","signatures":[{"sig":"MEUCIF9YWzLJ424NWxqfJoM/0uXbk9nILf8JL6xr7WKSUpRfAiEAhUgBoJ7gZAuYMkkMdPS3ep+o55RYE6l0EqVZ4S260JU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":960935},"main":"src/index.js","type":"module","exports":{".":{"import":"./src/index.js"}},"gitHead":"3786ffc3bad521f2f669ba5c6ed0ffe8838c434c","scripts":{"test":"echo 'No tests yet'","publish":"npm publish --access public"},"_npmUser":{"name":"sagunkaranjit","email":"karanjit.sagun01@gmail.com"},"repository":{"url":"git+https://github.com/sagunji/noc-canada.git","type":"git"},"_npmVersion":"10.2.4","description":"Canadian National Occupational Classification (NOC) data and utilities","directories":{},"_nodeVersion":"21.4.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/nocs_1.0.1_1744677412243_0.14940815823603737","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@canoeh/nocs","version":"1.0.2","keywords":["noc","canada","occupation","classification","employment","job","career"],"author":{"name":"Sagun Karanjit"},"license":"MIT","_id":"@canoeh/nocs@1.0.2","maintainers":[{"name":"sagunkaranjit","email":"karanjit.sagun01@gmail.com"}],"homepage":"https://github.com/sagunji/noc-canada#readme","bugs":{"url":"https://github.com/sagunji/noc-canada/issues"},"dist":{"shasum":"fa984611592c18a1c55518c726531dc12ada0a33","tarball":"https://registry.npmjs.org/@canoeh/nocs/-/nocs-1.0.2.tgz","fileCount":4,"integrity":"sha512-FijVBBk3rsnNlRoq9GGLlmRwNK0ahTDLTpBlC0sE11YXEB5zJggiR+mYutl8xpq2/5AxFTP3C1VXeUSgimFi5Q==","signatures":[{"sig":"MEQCIHS04Sm4fftnpjCxVa1EWgW22645XMgRx+4alQsh/KLtAiBONPwCE2hAVGdvADwdotorYQce3g+Nbdw3/Jz1KLt3NQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":960999},"main":"src/index.js","type":"module","exports":{".":{"import":"./src/index.js"}},"gitHead":"f6d427fb218be5da4db7fee56c9daf689c74be4a","scripts":{"test":"echo 'No tests yet'","publish":"npm publish --access public"},"_npmUser":{"name":"sagunkaranjit","email":"karanjit.sagun01@gmail.com"},"repository":{"url":"git+https://github.com/sagunji/noc-canada.git","type":"git"},"_npmVersion":"10.2.4","description":"Canadian National Occupational Classification (NOC) data and utilities","directories":{},"_nodeVersion":"21.4.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/nocs_1.0.2_1744677983249_0.6414272612783363","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@canoeh/nocs","version":"1.0.3","keywords":["noc","canada","occupation","classification","employment","job","career"],"author":{"name":"Sagun Karanjit"},"license":"MIT","_id":"@canoeh/nocs@1.0.3","maintainers":[{"name":"sagunkaranjit","email":"karanjit.sagun01@gmail.com"}],"homepage":"https://github.com/sagunji/noc-canada#readme","bugs":{"url":"https://github.com/sagunji/noc-canada/issues"},"dist":{"shasum":"66eaae67063ef4dd1f959896aeb81bab45f942c3","tarball":"https://registry.npmjs.org/@canoeh/nocs/-/nocs-1.0.3.tgz","fileCount":4,"integrity":"sha512-yF/HSB1U4BTZE2oYhXBOzDW7FFz6CpcOqy8HUK3HvPQvprWzbHSU5cIyD8mCTDAKpi0YIyjAMG1Zmj6oq5QVqA==","signatures":[{"sig":"MEUCIQD2yji04SiXfXWHAD8wKP0ZyAOPshO474r5Zt6ef68NaAIgM2gc3VkYrtUj24EUc8kDA4mlE3ZHu+mErwAWTqJrdoY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":960933},"main":"src/index.js","type":"module","exports":{".":{"import":"./src/index.js"}},"gitHead":"c3bd7bc19a872758efa246c5a63cf943c9229d33","scripts":{"test":"echo 'No tests yet'","publish":"npm publish --access public"},"_npmUser":{"name":"sagunkaranjit","email":"karanjit.sagun01@gmail.com"},"repository":{"url":"git+https://github.com/sagunji/noc-canada.git","type":"git"},"_npmVersion":"10.2.4","description":"Canadian National Occupational Classification (NOC) data and utilities","directories":{},"_nodeVersion":"21.4.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/nocs_1.0.3_1744678249107_0.0024653921665975798","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@canoeh/nocs","version":"1.1.0","keywords":["noc","canada","occupation","classification","employment","job","career"],"author":{"name":"Sagun Karanjit"},"license":"MIT","_id":"@canoeh/nocs@1.1.0","maintainers":[{"name":"sagunkaranjit","email":"karanjit.sagun01@gmail.com"}],"homepage":"https://github.com/sagunji/noc-canada#readme","bugs":{"url":"https://github.com/sagunji/noc-canada/issues"},"dist":{"shasum":"80d3d8458eb0e29eab904c9eea07f98a105a9f1b","tarball":"https://registry.npmjs.org/@canoeh/nocs/-/nocs-1.1.0.tgz","fileCount":4,"integrity":"sha512-9A7kH92zE9WvSbnRYnUBpL/pwndVh0EpSCljLLX+RPWRBUF+HG9txCpPEoIJhIwgUB4Y2ZuWTgXkGKPID5VWxw==","signatures":[{"sig":"MEYCIQD/FxuqHuHNGJ5LNM9iXnoYkhNCIUKtKBgSDhw578v7JAIhAN64H2rRsoD40pwVTPIUNXkknZU/Ceg9keQgRGHkjV61","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":960958},"main":"src/index.js","type":"module","types":"index.d.ts","exports":{".":{"import":"./src/index.js"}},"gitHead":"67d66daaa5c71250a10ad35c8271d9a5ccf1c76b","scripts":{"test":"echo 'No tests yet'","publish":"npm publish --access public"},"_npmUser":{"name":"sagunkaranjit","email":"karanjit.sagun01@gmail.com"},"repository":{"url":"git+https://github.com/sagunji/noc-canada.git","type":"git"},"_npmVersion":"10.2.4","description":"Canadian National Occupational Classification (NOC) data and utilities","directories":{},"_nodeVersion":"21.4.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/nocs_1.1.0_1744678592277_0.855382147511941","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@canoeh/nocs","version":"1.2.0","description":"Canadian National Occupational Classification (NOC) data and utilities","type":"module","main":"src/index.js","exports":{".":{"import":"./src/index.js"}},"scripts":{"publish":"npm publish --access public","test":"echo 'No tests yet'"},"keywords":["noc","canada","occupation","classification","employment","job","career"],"author":{"name":"Sagun Karanjit"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/sagunji/noc-canada.git"},"bugs":{"url":"https://github.com/sagunji/noc-canada/issues"},"homepage":"https://github.com/sagunji/noc-canada#readme","publishConfig":{"access":"public"},"types":"index.d.ts","_id":"@canoeh/nocs@1.2.0","gitHead":"dbeb1fd2aea40422d8d118590798067ea6338b23","_nodeVersion":"21.4.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-Ope+hOG6R0oAHxdB8+XcD8w6kYRpUoApE63mnU/aerNnV0c31SHFQAm6MIWeA1+bwHccXWrVs++o8e5XD7T0Nw==","shasum":"80c2f4b72bbd59bfcc8a1f42dcc91f04a304d18b","tarball":"https://registry.npmjs.org/@canoeh/nocs/-/nocs-1.2.0.tgz","fileCount":4,"unpackedSize":961519,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCICIllqAcC03iTK/NX9XxalHy0HM76NYoLaoiKQeGgXN5AiB1a8mLTUBPcJLU8gqFTDuqm69xpqlE+gFLlJnVe6h5RA=="}]},"_npmUser":{"name":"sagunkaranjit","email":"karanjit.sagun01@gmail.com"},"directories":{},"maintainers":[{"name":"sagunkaranjit","email":"karanjit.sagun01@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/nocs_1.2.0_1747366063682_0.8199821599559161"},"_hasShrinkwrap":false}},"time":{"created":"2025-04-15T00:23:32.585Z","modified":"2025-05-16T03:27:44.103Z","0.1.0":"2025-04-15T00:23:32.925Z","1.0.0":"2025-04-15T00:27:30.683Z","1.0.1":"2025-04-15T00:36:52.447Z","1.0.2":"2025-04-15T00:46:23.530Z","1.0.3":"2025-04-15T00:50:49.347Z","1.1.0":"2025-04-15T00:56:32.513Z","1.2.0":"2025-05-16T03:27:43.910Z"},"bugs":{"url":"https://github.com/sagunji/noc-canada/issues"},"author":{"name":"Sagun Karanjit"},"license":"MIT","homepage":"https://github.com/sagunji/noc-canada#readme","keywords":["noc","canada","occupation","classification","employment","job","career"],"repository":{"type":"git","url":"git+https://github.com/sagunji/noc-canada.git"},"description":"Canadian National Occupational Classification (NOC) data and utilities","maintainers":[{"name":"sagunkaranjit","email":"karanjit.sagun01@gmail.com"}],"readme":"<p align=\"center\">\n  <img src=\"https://gist.githubusercontent.com/sagunji/8c0138a7af3e4cb16059261c1a8be691/raw/d26d6d84abdbd1277747565b574f252fa9ab63c0/canoeh.svg\" alt=\"Canada NOCs Logo\" height=\"120\"/>\n</p>\n\n# @canoeh/nocs\n\nA simple package to work with Canadian National Occupational Classification (NOC) codes.\n\n## Installation\n\n```bash\nnpm install @canoeh/nocs\n# or\npnpm add @canoeh/nocs\n```\n\n## Usage\n\n```js\nimport { getNOCByCode, getAllNOCs, searchNOCs } from \"@canoeh/nocs\";\n\n// Get a specific NOC\nconst noc = getNOCByCode(\"00010\");\nconsole.log(noc.title_en); // \"Legislators\"\n\n// Get all NOCs\nconst allNocs = getAllNOCs();\n\n// Search NOCs by text\nconst searchResults = searchNOCs(\"software engineer\");\nconsole.log(searchResults[0].title_en); // \"Software engineers and designers\"\nconsole.log(searchResults[0].noc_code); // \"21231\"\n```\n\n## API\n\n### `getNOCByCode(code: string)`\n\nReturns a NOC object for the given code.\n\n### `getAllNOCs()`\n\nReturns an array of all NOC objects.\n\n### `searchNOCs(query: string)`\n\nReturns an array of NOC objects that match the search query. The search is performed on:\n\n- NOC code\n- English title\n- French title\n- English description\n- French description\n\n## Data Source\n\nThe data is sourced from [Statistics Canada](https://www.statcan.gc.ca/en/subjects/standard/noc/2021/indexV1) and is provided under the [Open Government Licence - Canada](https://open.canada.ca/en/open-government-licence-canada).\n\n## License\n\nMIT\n","readmeFilename":"README.md"}