{"_id":"typographic-base","_rev":"7-71d84d0caf3e978c3aab519978005d6b","name":"typographic-base","description":"typography set for fixing common issues","dist-tags":{"latest":"1.0.4"},"versions":{"1.0.0":{"name":"typographic-base","version":"1.0.0","description":"typography set for fixing common issues","main":"index.es5.js","scripts":{"watch":"npm run transpile -- --watch","coverage":"babel-node ./node_modules/.bin/isparta cover _mocha index.js -- --compilers js:babel-core/register","precoveralls":"npm run coverage","coveralls":"coveralls < coverage/lcov.info","test":"mocha --require babel-core/register","tdd":"npm test -- --watch","transpile":"babel index.js --out-file index.es5.js","prepublish":"npm run transpile","clean":"rimraf index.es5.js","push":"git push --follow-tags","postpublish":"npm-run-all clean push"},"repository":{"type":"git","url":"git+https://github.com/iamstarkov/typographic-base.git"},"keywords":["typo","typography","textr"],"author":{"name":"Vladimir Starkov","email":"iamstarkov@gmail.com","url":"https://iamstarkov.com"},"license":"MIT","bugs":{"url":"https://github.com/iamstarkov/typographic-base/issues"},"homepage":"https://github.com/iamstarkov/typographic-base#readme","devDependencies":{"assert":"*","babel-cli":"^6.2.0","babel-core":"^6.2.1","babel-preset-es2015":"^6.1.18","coveralls":"*","isparta":"*","mocha":"*","npm-run-all":"*","rimraf":"*"},"dependencies":{"textr":"^0.3.0","typographic-apostrophes":"^1.1.1","typographic-apostrophes-for-possessive-plurals":"^1.0.5","typographic-arrows":"^0.1.3","typographic-copyright":"^1.0.1","typographic-currency":"^0.1.7","typographic-ellipses":"^1.0.11","typographic-em-dashes":"^1.0.2","typographic-en-dashes":"^1.0.1","typographic-math-symbols":"^1.1.5","typographic-quotes":"^1.2.1","typographic-registered-trademark":"^1.0.1","typographic-single-spaces":"^1.0.2","typographic-trademark":"^1.0.1"},"gitHead":"dbdf44cc42279f98952c3d9a75b626f542339ef8","_id":"typographic-base@1.0.0","_shasum":"5a303d3fc160431f3216f27512aeafeb6a0b3bc4","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.1.0","_npmUser":{"name":"iamstarkov","email":"iamstarkov@gmail.com"},"dist":{"shasum":"5a303d3fc160431f3216f27512aeafeb6a0b3bc4","tarball":"https://registry.npmjs.org/typographic-base/-/typographic-base-1.0.0.tgz","integrity":"sha512-3R9wYxGkZJAufOuwUKY9pDK1cf+t58OaQhx2HtTr0uTLvRYx33x4mfuNGqIbJj4PfuyWepN00s1hCSP9wYaWsA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG6UFkmPOWAxSO34Fwv5no28av81F9bdmyamuVxUe6bgAiEA3YHXZCU0e+fvDxCN/JRhO2L9yywHZbE3S9K/rp+BT+8="}]},"maintainers":[{"name":"iamstarkov","email":"iamstarkov@gmail.com"}]},"1.0.1":{"name":"typographic-base","version":"1.0.1","description":"typography set for fixing common issues","main":"index.es5.js","scripts":{"watch":"npm run transpile -- --watch","coverage":"babel-node ./node_modules/.bin/isparta cover _mocha index.js -- --compilers js:babel-core/register","precoveralls":"npm run coverage","coveralls":"coveralls < coverage/lcov.info","test":"mocha --require babel-core/register","tdd":"npm test -- --watch","transpile":"babel index.js --out-file index.es5.js","prepublish":"npm run transpile","clean":"rimraf index.es5.js","push":"git push --follow-tags","postpublish":"npm-run-all clean push"},"repository":{"type":"git","url":"git+https://github.com/iamstarkov/typographic-base.git"},"keywords":["typo","typography","textr"],"author":{"name":"Vladimir Starkov","email":"iamstarkov@gmail.com","url":"https://iamstarkov.com"},"license":"MIT","bugs":{"url":"https://github.com/iamstarkov/typographic-base/issues"},"homepage":"https://github.com/iamstarkov/typographic-base#readme","devDependencies":{"assert":"*","babel-cli":"^6.2.0","babel-core":"^6.2.1","babel-preset-es2015":"^6.1.18","coveralls":"*","isparta":"*","mocha":"*","npm-run-all":"*","rimraf":"*"},"dependencies":{"textr":"^0.3.0","typographic-apostrophes":"^1.1.1","typographic-apostrophes-for-possessive-plurals":"^1.0.5","typographic-arrows":"^0.1.3","typographic-copyright":"^1.0.1","typographic-currency":"^0.1.7","typographic-ellipses":"^1.0.11","typographic-em-dashes":"^1.0.2","typographic-en-dashes":"^1.0.1","typographic-math-symbols":"^1.1.5","typographic-quotes":"^1.2.1","typographic-registered-trademark":"^1.0.1","typographic-single-spaces":"^1.0.2","typographic-trademark":"^1.0.1"},"gitHead":"4f3403333922055c175d6425f0c464fbb11b0e63","_id":"typographic-base@1.0.1","_shasum":"8ea5b4080d2cbf97aca510758b87bffebe7c7a8f","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.1.0","_npmUser":{"name":"iamstarkov","email":"iamstarkov@gmail.com"},"dist":{"shasum":"8ea5b4080d2cbf97aca510758b87bffebe7c7a8f","tarball":"https://registry.npmjs.org/typographic-base/-/typographic-base-1.0.1.tgz","integrity":"sha512-2/6/ThRztb98rMRFHU9ASLdkKC+LHLy5DX6xtrOkGjy09BXHmTvkKs/aBJ8b+fVQJZK9Vw5RZZ8uu7usWXrjDQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBmPViVRrrX7tbmY9tBAGR/URCUjZO3/Zrbc8Wb+6WVQAiAoUl8OXu+q9oeJE7v4hVnyHaOmVf75G1WkWyhuaUwG2Q=="}]},"maintainers":[{"name":"iamstarkov","email":"iamstarkov@gmail.com"}]},"1.0.2":{"name":"typographic-base","version":"1.0.2","description":"typography set for fixing common issues","main":"index.es5.js","scripts":{"watch":"npm run transpile -- --watch","coverage":"babel-node ./node_modules/.bin/babel-istanbul cover _mocha index.js -- --compilers js:babel-core/register","precoveralls":"npm run coverage","coveralls":"coveralls < coverage/lcov.info","test":"mocha --require babel-core/register","tdd":"npm test -- --watch","transpile":"babel index.js --out-file index.es5.js","prepublish":"npm run transpile","clean":"rimraf index.es5.js","push":"git push --follow-tags","postpublish":"npm-run-all clean push"},"repository":{"type":"git","url":"git+https://github.com/iamstarkov/typographic-base.git"},"keywords":["typo","typography","textr"],"author":{"name":"Vladimir Starkov","email":"iamstarkov@gmail.com","url":"https://iamstarkov.com"},"license":"MIT","bugs":{"url":"https://github.com/iamstarkov/typographic-base/issues"},"homepage":"https://github.com/iamstarkov/typographic-base#readme","devDependencies":{"assert":"*","babel-cli":"^6.2.0","babel-core":"^6.2.1","babel-istanbul":"^0.5.9","babel-preset-es2015":"^6.1.18","coveralls":"*","mocha":"*","npm-run-all":"*","rimraf":"*"},"dependencies":{"textr":"^0.3.0","typographic-apostrophes":"^1.1.1","typographic-apostrophes-for-possessive-plurals":"^1.0.5","typographic-arrows":"^1.0.0","typographic-copyright":"^1.0.1","typographic-currency":"^1.1.0","typographic-ellipses":"^1.0.11","typographic-em-dashes":"^1.0.2","typographic-en-dashes":"^1.0.1","typographic-math-symbols":"^1.1.5","typographic-quotes":"^1.2.1","typographic-registered-trademark":"^1.0.1","typographic-single-spaces":"^1.0.2","typographic-trademark":"^1.0.1"},"gitHead":"3b48690869834f65164b91a6f540d21039e3617f","_id":"typographic-base@1.0.2","_shasum":"5d3e88b9e285bf8481fa3670d152c1b148faca52","_from":".","_npmVersion":"3.4.1","_nodeVersion":"5.1.0","_npmUser":{"name":"iamstarkov","email":"iamstarkov@gmail.com"},"dist":{"shasum":"5d3e88b9e285bf8481fa3670d152c1b148faca52","tarball":"https://registry.npmjs.org/typographic-base/-/typographic-base-1.0.2.tgz","integrity":"sha512-IYQUsbOD1ItGg60d0hM/oZ0b8Glsl3uJ20xqX/PDMrz1LZpRnqErM4t+3Z30zSuPk8ehe9ee2ZkAqAkiozMLMg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEOksxFstPKcKC6cw6ibDmbgmKr0CKYiGMC6e7Zk2MaVAiEAshEFlo/GP7RodkFXvMZD4NZMjElEHpRgn152qxML1PE="}]},"maintainers":[{"name":"iamstarkov","email":"iamstarkov@gmail.com"}]},"1.0.3":{"name":"typographic-base","version":"1.0.3","description":"typography set for fixing common issues","main":"index.es5.js","scripts":{"watch":"npm run transpile -- --watch","coverage":"babel-node ./node_modules/.bin/babel-istanbul cover _mocha index.js -- --compilers js:babel-core/register","precoveralls":"npm run coverage","coveralls":"coveralls < coverage/lcov.info","test":"mocha --require babel-core/register","tdd":"npm test -- --watch","transpile":"babel index.js --out-file index.es5.js","prepublish":"npm run transpile","clean":"rimraf index.es5.js","push":"git push --follow-tags","postpublish":"npm-run-all clean push"},"repository":{"type":"git","url":"git+https://github.com/iamstarkov/typographic-base.git"},"keywords":["typo","typography","textr"],"author":{"name":"Vladimir Starkov","email":"iamstarkov@gmail.com","url":"https://iamstarkov.com"},"license":"MIT","bugs":{"url":"https://github.com/iamstarkov/typographic-base/issues"},"homepage":"https://github.com/iamstarkov/typographic-base#readme","devDependencies":{"assert":"*","babel-cli":"^6.2.0","babel-core":"^6.2.1","babel-istanbul":"^0.5.9","babel-plugin-add-module-exports":"^0.1.1","babel-preset-es2015":"^6.1.18","coveralls":"*","mocha":"*","npm-run-all":"*","rimraf":"*"},"dependencies":{"textr":"^0.3.0","typographic-apostrophes":"^1.1.1","typographic-apostrophes-for-possessive-plurals":"^1.0.5","typographic-arrows":"^1.0.0","typographic-copyright":"^1.0.1","typographic-currency":"^1.1.0","typographic-ellipses":"^1.0.11","typographic-em-dashes":"^1.0.2","typographic-en-dashes":"^1.0.1","typographic-math-symbols":"^1.1.5","typographic-quotes":"^1.2.1","typographic-registered-trademark":"^1.0.1","typographic-single-spaces":"^1.0.2","typographic-trademark":"^1.0.1"},"gitHead":"b5a2ff72fae31ab892f3c8fa1e2fd4b85c8a188d","_id":"typographic-base@1.0.3","_shasum":"95330a89e54892979762c9d527b3431333aa105b","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.1.0","_npmUser":{"name":"iamstarkov","email":"iamstarkov@gmail.com"},"dist":{"shasum":"95330a89e54892979762c9d527b3431333aa105b","tarball":"https://registry.npmjs.org/typographic-base/-/typographic-base-1.0.3.tgz","integrity":"sha512-vlU8wVfJ4sRd9+JhKiZ5EyjfOzpjMCQ+w9Sbv9zgSvyALYEI3KFPRhappW8iMI4Ah61XM/pRz7EqQafuBvs6vg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDapYrY53U5dlIyF22hiDvn/q8ig9GJNuvTm9NuhJdOBwIgG72MbsHHTvIArhYZpSo0y9QPz9kod5QzpjUCFw/5Zj0="}]},"maintainers":[{"name":"iamstarkov","email":"iamstarkov@gmail.com"}]},"1.0.4":{"name":"typographic-base","version":"1.0.4","description":"typography set for fixing common issues","main":"index.es5.js","scripts":{"watch":"npm run transpile -- --watch","coverage":"babel-node ./node_modules/.bin/babel-istanbul cover _mocha index.js -- --compilers js:babel-core/register","precoveralls":"npm run coverage","coveralls":"coveralls < coverage/lcov.info","test":"mocha --require babel-core/register","tdd":"npm test -- --watch","transpile":"babel index.js --out-file index.es5.js","prepublish":"npm run transpile","clean":"rimraf index.es5.js","push":"git push --follow-tags","postpublish":"npm-run-all clean push"},"repository":{"type":"git","url":"git+https://github.com/iamstarkov/typographic-base.git"},"keywords":["typo","typography","textr"],"author":{"name":"Vladimir Starkov","email":"iamstarkov@gmail.com","url":"https://iamstarkov.com"},"license":"MIT","bugs":{"url":"https://github.com/iamstarkov/typographic-base/issues"},"homepage":"https://github.com/iamstarkov/typographic-base#readme","devDependencies":{"assert":"*","babel-cli":"^6.2.0","babel-core":"^6.2.1","babel-istanbul":"^0.5.9","babel-plugin-add-module-exports":"^0.1.1","babel-preset-es2015":"^6.1.18","coveralls":"*","mocha":"*","npm-run-all":"*","rimraf":"*"},"dependencies":{"textr":"^0.3.0","typographic-apostrophes":"^1.1.1","typographic-apostrophes-for-possessive-plurals":"^1.0.5","typographic-arrows":"^1.0.0","typographic-copyright":"^1.0.1","typographic-currency":"^1.1.0","typographic-ellipses":"^1.0.11","typographic-em-dashes":"^1.0.2","typographic-en-dashes":"^1.0.1","typographic-math-symbols":"^1.1.5","typographic-quotes":"^1.2.1","typographic-registered-trademark":"^1.0.1","typographic-single-spaces":"^1.0.2","typographic-trademark":"^1.0.1"},"gitHead":"5376dc3e9e13b8c8cb42faff3f6d5b8ab361c4fa","_id":"typographic-base@1.0.4","_shasum":"8bb74e8e3262401915c5bd2d6b5d520bd2d15697","_from":".","_npmVersion":"3.5.2","_nodeVersion":"5.2.0","_npmUser":{"name":"iamstarkov","email":"iamstarkov@gmail.com"},"dist":{"shasum":"8bb74e8e3262401915c5bd2d6b5d520bd2d15697","tarball":"https://registry.npmjs.org/typographic-base/-/typographic-base-1.0.4.tgz","integrity":"sha512-R2ABy+ohOfZAKumZkkTmP11NWqj0AG7nZg3yyvnuzzl+D0GL9Gu8jO2+D/oAD+04z+/z0AesMO/rncBooHUs7g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDQ7MsIuy+XH1xe1RxCf7xvOVlLohlXZX4IkQEBk9RsYwIgas/hu8V3YfbRfxNKQqMXPpH3ESqL57nr3qQTryxAYLE="}]},"maintainers":[{"name":"iamstarkov","email":"iamstarkov@gmail.com"}]}},"readme":"# typographic-base\n\n[![NPM version][npm-image]][npm-url]\n[![Build Status][travis-image]][travis-url]\n[![Coveralls Status][coveralls-image]][coveralls-url]\n[![Dependency Status][depstat-image]][depstat-url]\n\n> typography set for fixing common issues\n\nThis packages handles for you:\n\n* quotes, apostrophes, ellipses, and spaces as well as dashes\n* plus arrows, copyright, trademark, math and currency symbols\n\nCan be used as [textr](https://github.com/shuvalov-anton/textr) plugin too.\n\n## Install\n\n    npm install --save typographic-base\n\n## Usage\n\n```js\nimport typographicBase from 'typographic-base';\n\ntypographicBase(`Hello -> \"world\"`, { locale: 'en-us' }); // Hello → “world”\n```\n\n## API\n\n### typographicBase(input, options)\n\n#### input\n\n*Required*  \nType: `String`\n\nYour text.\n\n#### options\n\nType: `Object`  \nDefault: `{}`\n\nMainly because of `options.locale` importance. You know better which locale you text belongs to.\n\n## Batteries\n\n| Package           | Description                     | Example              |\n| :---------------- | :------------------------------ | :------------------- |\n| [`typographic-apostrophes`][apostrophes] | Apostrophes in contractions and for possessive case. | `rock'n'roll` → `rock’n’roll` |\n| [`typographic-quotes`][quotes] |  Quotes for your text with respect to locale. | `\"quotes\"` → `“quotes”` |\n| [`typographic-apostrophes-for-possessive-plurals`][plurals] | Apostrophes for possessive plurals. | `sisters'` → `sisters’` |\n| [`typographic-arrows`][arrows] | Use real arrows. | `a <- b` → `a ← b` |\n| [`typographic-copyright`][copyright] | Use real copyright symbol. | `(C)` → `©` |\n| [`typographic-currency`][currency] | Use the correct symbol of currency. | `1usd` → `1$` |\n| [`typographic-ellipses`][ellipses] | Avoid using periods and spaces. | `...` → `…` |\n| [`typographic-em-dashes`][em] | Replaces `--` to em dash. | `--` → `—` |\n| [`typographic-en-dashes`][en] | Safely replacing hyphens in a range of values with en dashes only. | `(1967-1994)` → `(1967–1994)` |\n| [`typographic-math-symbols`][math] | Replaces alphabetic math symbols to real symbols. | `3 =< 2` → `3 ≤ 2` |\n| [`typographic-registered-trademark`][registered] | Replaces alphabetic registered trademark to real symbol. | `(R)` → `®` |\n| [`typographic-single-spaces`][spaces] | Replace many spaces to one space. | `one    two` → `one two` |\n| [`typographic-trademark`][trademark] | Replaces alphabetic trademark to real symbol. | `(TM)` → `™` |\n\n## License\n\nMIT © [Vladimir Starkov](https://iamstarkov.com)\n\n\n[apostrophes]: https://github.com/iamstarkov/typographic-apostrophes\n[quotes]: https://github.com/iamstarkov/typographic-quotes\n[plurals]: https://github.com/iamstarkov/typographic-apostrophes-for-possessive-plurals\n[arrows]: https://github.com/andrepolischuk/typographic-arrows\n[copyright]: https://github.com/iamstarkov/typographic-copyright\n[currency]: https://github.com/talgautb/typographic-currency\n[ellipses]: https://github.com/iamstarkov/typographic-ellipses\n[em]: https://github.com/iamstarkov/typographic-em-dashes\n[en]: https://github.com/iamstarkov/typographic-en-dashes\n[math]: https://github.com/iamstarkov/typographic-math-symbols\n[registered]: https://github.com/iamstarkov/typographic-registered-trademark\n[spaces]: https://github.com/iamstarkov/typographic-single-spaces\n[trademark]: https://www.npmjs.com/package/typographic-trademark\n\n[npm-url]: https://npmjs.org/package/typographic-base\n[npm-image]: https://img.shields.io/npm/v/typographic-base.svg?style=flat-square\n\n[travis-url]: https://travis-ci.org/iamstarkov/typographic-base\n[travis-image]: https://img.shields.io/travis/iamstarkov/typographic-base.svg?style=flat-square\n\n[coveralls-url]: https://coveralls.io/r/iamstarkov/typographic-base\n[coveralls-image]: https://img.shields.io/coveralls/iamstarkov/typographic-base.svg?style=flat-square\n\n[depstat-url]: https://david-dm.org/iamstarkov/typographic-base\n[depstat-image]: https://david-dm.org/iamstarkov/typographic-base.svg?style=flat-square\n","maintainers":[{"name":"iamstarkov","email":"iamstarkov@gmail.com"}],"time":{"modified":"2022-06-28T02:12:31.751Z","created":"2015-11-24T20:37:53.092Z","1.0.0":"2015-11-24T20:37:53.092Z","1.0.1":"2015-11-24T20:43:22.228Z","1.0.2":"2015-11-28T22:57:36.455Z","1.0.3":"2015-12-01T11:28:00.230Z","1.0.4":"2015-12-15T15:21:19.977Z"},"homepage":"https://github.com/iamstarkov/typographic-base#readme","keywords":["typo","typography","textr"],"repository":{"type":"git","url":"git+https://github.com/iamstarkov/typographic-base.git"},"author":{"name":"Vladimir Starkov","email":"iamstarkov@gmail.com","url":"https://iamstarkov.com"},"bugs":{"url":"https://github.com/iamstarkov/typographic-base/issues"},"license":"MIT","readmeFilename":"README.md"}