{"name":"quotation","version":"1.1.2","description":"Quote a value","license":"MIT","keywords":["double","single","quote","quotation","dumb","smart","single","double","low","high","guillemet"],"repository":{"type":"git","url":"git+https://github.com/wooorm/quotation.git"},"bugs":{"url":"https://github.com/wooorm/quotation/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"dependencies":{},"devDependencies":{"browserify":"^16.0.0","nyc":"^14.0.0","prettier":"^1.12.1","remark-cli":"^6.0.0","remark-preset-wooorm":"^4.0.0","tape":"^4.0.0","tinyify":"^2.5.0","xo":"^0.24.0"},"scripts":{"format":"remark . -qfo && prettier --write \"**/*.js\" && xo --fix","build-bundle":"browserify . -s quotation -o quotation.js","build-mangle":"browserify . -s quotation -p tinyify -o quotation.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run format && npm run build && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"ignore":["quotation.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"814781a900ae839a4f6d3971f69553fde84ff28a","homepage":"https://github.com/wooorm/quotation#readme","_id":"quotation@1.1.2","_nodeVersion":"11.9.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-96iP6AudZyiOQWEY8hOUjliGaRMNj4yiC22vCSSFMNDdvpp/5/MyfsHSwFcFswWjDVxdBdzQS7MqA3rYglizOQ==","shasum":"fc178192e524359e36b8832b27586817bb94bf2e","tarball":"http://registry-npm.ywwl.com/quotation/download/quotation-1.1.2.tgz","fileCount":4,"unpackedSize":4823,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc1oWUCRA9TVsSAnZWagAAMzoP/1qss2YNf9+2KWaTaocH\nM38coXgEaZLC9ExiMFPDR5YelW5cSba3wEsXmRG51bJGo1sEZekjpkePiRu3\n11ewptP5giaTQuNgVWcsr0c0xQGHa1nzV7dhjk5N3qE65zvKlbvN6vSvKxO+\ncXnU6pK1L6eChKlWZVV0aWkF2P5d7U7YKF/4ip8+7kgHtjXd0mCI1z2+wABx\nUlvz4DgCxA8NJi61TT/Tzuf0f/GAImU25M1wKVsszDde62sQp+XUzP0+tcLH\nAumvvojq5vnC/uq0LTUlEI2wZz5rkaYBlv53ubVI2KP5GqY17L5PbSJuWee1\nTxyqvGU3zhrfXX8D/bLWZf6voeKO1CJjcKq3ecLTXdOVRewythMR7ZXM1M+I\nqY3bCeZFW4E4ZVXMPaXZYNPVF65Ks9t0B11R57oR/x5MMeDhXeJ0GpTrk2WL\nYwKuv7i0KxgDFkZu2u4E/qHMECiWJ2Se8Ep+wdhpFRxJV7XAlmihNDt0PskR\nvXFOLm9Zkgq61E/7ep1X7vrgQCGQ96wu2ZILOjwhKNGyBjB63yVjBLdcXek2\nk/ls7hivJfLQ3WxDk65NaWm1EOJIZZzWHgog75dNIsEdOuA9lQ4pPBKjnKnJ\n7Cf3C3Ge2kEsrIivq6kyyFdwkZ3pwaEpmMHy7fFkcotkyQ2+wyGZqEyS05jy\n7YEb\r\n=V2Ot\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCI+oWwpSBIS3WtW5HP+k7OmA9vp+OMuwrSyWJLYVwLJwIgDEizLSRaRK/ZR9086Cm6lG24OLXdwJH+JhWSfPiGZj8="}],"size":2327,"noattachment":false,"key":"/quotation/-/quotation-1.1.2.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quotation_1.1.2_1557562771691_0.05807212333266243"},"_hasShrinkwrap":false,"readme":"# quotation\n\n[![Build][build-badge]][build]\n[![Coverage][coverage-badge]][coverage]\n[![Downloads][downloads-badge]][downloads]\n[![Size][size-badge]][size]\n\nQuote a value.\n\n## Contents\n\n*   [What is this?](#what-is-this)\n*   [When should I use this?](#when-should-i-use-this)\n*   [Install](#install)\n*   [Use](#use)\n*   [API](#api)\n    *   [`quotation(value[, open[, close]])`](#quotationvalue-open-close)\n*   [Types](#types)\n*   [Compatibility](#compatibility)\n*   [Security](#security)\n*   [Contribute](#contribute)\n*   [License](#license)\n\n## What is this?\n\nThis package makes it quite easy to quote one or more values.\n\n## When should I use this?\n\nUse this package if you need to quote one or more strings with straight or smart\nquotes.\n\n## Install\n\nThis package is [ESM only][esm].\nIn Node.js (version 14.14+, 16.0+), install with [npm][]:\n\n```sh\nnpm install quotation\n```\n\nIn Deno with [`esm.sh`][esmsh]:\n\n```js\nimport {quotation} from 'https://esm.sh/quotation@2'\n```\n\nIn browsers with [`esm.sh`][esmsh]:\n\n```html\n<script type=\"module\">\n  import {quotation} from 'https://esm.sh/quotation@2?bundle'\n</script>\n```\n\n## Use\n\n```js\nimport {quotation} from 'quotation'\n\nquotation('one') // => '\"one\"'\nquotation(['one', 'two']) // => ['\"one\"', '\"two\"']\nquotation('one', \"'\") // => \"'one'\"\nquotation('one', '“', '”') // => '“one”'\n```\n\n## API\n\nThis package exports the identifier `quotation`.\nThere is no default export.\n\n### `quotation(value[, open[, close]])`\n\nQuote a value.\n\n###### Parameters\n\n*   `value` (`string` or `string[]`)\n    — value to wrap in quotes\n*   `open` (`string`, default: `\"`)\n    — character to add at start of `value`\n*   `close` (`string`, default: `open` or `\"`)\n    — character to add at end of `value`\n\n## Types\n\nThis package is fully typed with [TypeScript][].\nIt exports no additional types.\n\n## Compatibility\n\nThis package is at least compatible with all maintained versions of Node.js.\nAs of now, that is Node.js 14.14+ and 16.0+.\nIt also works in Deno and modern browsers.\n\n## Security\n\nThis package is safe.\n\n## Contribute\n\nYes please!\nSee [How to Contribute to Open Source][contribute].\n\n## License\n\n[MIT][license] © [Titus Wormer][author]\n\n<!-- Definitions -->\n\n[build-badge]: https://github.com/wooorm/quotation/workflows/main/badge.svg\n\n[build]: https://github.com/wooorm/quotation/actions\n\n[coverage-badge]: https://img.shields.io/codecov/c/github/wooorm/quotation.svg\n\n[coverage]: https://codecov.io/github/wooorm/quotation\n\n[downloads-badge]: https://img.shields.io/npm/dm/quotation.svg\n\n[downloads]: https://www.npmjs.com/package/quotation\n\n[size-badge]: https://img.shields.io/bundlephobia/minzip/quotation.svg\n\n[size]: https://bundlephobia.com/result?p=quotation\n\n[npm]: https://docs.npmjs.com/cli/install\n\n[esmsh]: https://esm.sh\n\n[license]: license\n\n[author]: https://wooorm.com\n\n[esm]: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c\n\n[typescript]: https://www.typescriptlang.org\n\n[contribute]: https://opensource.guide/how-to-contribute/\n","publish_time":1557562771819,"_cnpm_publish_time":1557562771819,"dist-tags":{"latest":"2.0.3"}}