{"_id":"@atsjj/inflector","_rev":"1-a895264fb2c8fad0e1ae68a6cd10a1d5","name":"@atsjj/inflector","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@atsjj/inflector","version":"0.1.0","description":"Inflector is a library that is compatible with ActiveSupport::Inflector.","homepage":"https://github.com/atsjj/inflector","repository":{"type":"git","url":"git+https://github.com/atsjj/inflector.git"},"author":{"name":"Steve Jabour","email":"steve@jabour.me","url":"https://github.com/atsjj"},"license":"MIT","module":"dist/esm/mod.js","main":"dist/cjs/mod.js","publishConfig":{"access":"public"},"scripts":{"build":"deno run -A --unstable build.ts","test":"yarn test:fmt && yarn test:lint && yarn test:test","test:fmt":"deno fmt --check","test:lint":"deno lint --unstable","test:test":"deno test"},"release-it":{"hooks":{"after:bump":["yarn build"],"after:release":["rm -rf dist"]},"plugins":{"release-it-lerna-changelog":{"infile":"CHANGELOG.md","launchEditor":true}},"github":{"release":true,"tokenRef":"GITHUB_AUTH"},"npm":{"publish":true}},"gitHead":"253a79186bac52325a2e35c52015b75c4bd65f53","bugs":{"url":"https://github.com/atsjj/inflector/issues"},"_id":"@atsjj/inflector@0.1.0","_nodeVersion":"14.9.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-m1WkQ1O+ed6n07wAc9wKYe5vJkJJ6wkHhdFc2/N6cbeBZxmbs0Wb0D4WZKM+1uODaPnAunrEcCU1uZOgt9NA2A==","shasum":"d55a82cbd6741a4c5c2b7ffd5e3e2778d758c61b","tarball":"https://registry.npmjs.org/@atsjj/inflector/-/inflector-0.1.0.tgz","fileCount":151,"unpackedSize":118395,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfkwbpCRA9TVsSAnZWagAAOfYQAIzTNf7ZmJMe4JyNo93b\nRGt8wdi2beadeUIWyabSjFw7B0iP8MIzuekPE6YxkHpgcTEsA5UGDuQoLRrV\noYYw9TICMtKPF/MemBu7p1x6WLtGQxhrkWxGjfaYdeXDi091hANJCvPU0Bpg\nGxmPB+tIIBuTSHZjIOryYyyGsZRr/Z4xG2eyLrmbWzieKRJ4aNMhZHrX+7gQ\nNl8lpoDww/0sriHb/UeNaBhqu9Isnx2/AFRyhufgh1Pzv8AVZz/RAn56zDbc\n3AfXSdm/nJiVXjtJGlptVCByzwkkY0hNl/joLhnJh3H1fPkvaOaliLMzJEvh\nNd/0xckWj8Mop78CgPkjxGV4t1a1GztMDvYZkJk/kJv70C8E8A4vwdI8+HuA\nUDN+akvG+OTl4yQJfB0XUb0scbSm8cha3P535VX88WyPg3LtW5PZcKprKqoO\n84f3EM07nAaby9Y+bW3DCfpLrcY09DU5qUooJjtJ5Xbovpi0rUE4Mu8EZFzD\nlk9WsKxPV1DZgolTFCcamaDS7GS5GtYFl1QMfvmU+jbp6E44aQ5AznJ/nt1n\nkCIZXm6Pm/5ahiD5N3m4yHFXEcZuHhwj50KJMO9EK8W8GhUGffRk4uNVQSx6\nRvyDOePFWS7SBsO0OZTDONIEkxJxluBq68XK2w/m7gCqrfYEAsWgy8oZr3ty\nY+sg\r\n=8D4V\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE8M1FVozapUexmGG63QugXo1ujJuGhG2XYnUkkkDIsVAiBGIC+aQpiL6oi/pFN1XDiLZViG09/rBFB9oseBdaw+2w=="}]},"maintainers":[{"name":"atsjj","email":"steve@jabour.me"}],"_npmUser":{"name":"atsjj","email":"steve@jabour.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/inflector_0.1.0_1603471080369_0.23565599001506188"},"_hasShrinkwrap":false}},"time":{"created":"2020-10-23T16:38:00.323Z","0.1.0":"2020-10-23T16:38:00.635Z","modified":"2022-04-04T16:19:54.962Z"},"maintainers":[{"name":"atsjj","email":"steve@jabour.me"}],"description":"Inflector is a library that is compatible with ActiveSupport::Inflector.","homepage":"https://github.com/atsjj/inflector","repository":{"type":"git","url":"git+https://github.com/atsjj/inflector.git"},"author":{"name":"Steve Jabour","email":"steve@jabour.me","url":"https://github.com/atsjj"},"bugs":{"url":"https://github.com/atsjj/inflector/issues"},"license":"MIT","readme":"# Inflector\n\n[![build](https://img.shields.io/github/workflow/status/atsjj/inflector/ci)](https://github.com/atsjj/inflector/actions?query=workflow%3Aci)\n[![doc](https://img.shields.io/badge/deno-doc-blue)](https://doc.deno.land/https/deno.land/x/inflector/mod.ts)\n[![npm](https://img.shields.io/npm/v/@atsjj/inflector)](https://www.npmjs.com/package/@atsjj/inflector)\n\nInflector is a library that is compatible with ActiveSupport::Inflector. Inflector has first-class\nsupport for Deno and TypeScript, but also ships with support for Node CommonJS and ES Modules.\n\nInflector is based on the work of [Ember Inflector](https://github.com/emberjs/ember-inflector) and\n[Ember.js](https://github.com/emberjs/ember.js).\n\n## Install (Node)\n\n```\nnpm install --save @atsjj/inflector;\n```\n\n## Usage\n\n### Deno\n\n```ts\nimport { pluralize, singularize } from \"https://deno.land/x/inflector/mod.ts\";\n\nconsole.log(pluralize(\"cat\")) // \"cats\"\nconsole.log(singularize(\"searches\")) // \"search\"\n```\n\n### Browser\n\n```html\n<script type=\"module\">\n  import { pluralize, singularize } from \"https://cdn.skypack.dev/@atsjj/inflector\";\n\n  console.log(pluralize(\"cat\")) // \"cats\"\n  console.log(singularize(\"searches\")) // \"search\"\n</script>\n```\n\n### Node / ESM\n\n```javascript\nimport { pluralize, singularize } from \"@atsjj/inflector\";\n\nconsole.log(pluralize(\"cat\")) // \"cats\"\nconsole.log(singularize(\"searches\")) // \"search\"\n```\n\n### Node / CJS\n\n```javascript\nconst { pluralize, singularize } = require(\"@atsjj/inflector\");\n\nconsole.log(pluralize(\"cat\")) // \"cats\"\nconsole.log(singularize(\"searches\")) // \"search\"\n```\n","readmeFilename":"README.md"}