Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

typographic-base

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typographic-base - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

10

package.json
{
"name": "typographic-base",
"version": "1.0.1",
"version": "1.0.2",
"description": "typography set for fixing common issues",

@@ -8,3 +8,3 @@ "main": "index.es5.js",

"watch": "npm run transpile -- --watch",
"coverage": "babel-node ./node_modules/.bin/isparta cover _mocha index.js -- --compilers js:babel-core/register",
"coverage": "babel-node ./node_modules/.bin/babel-istanbul cover _mocha index.js -- --compilers js:babel-core/register",
"precoveralls": "npm run coverage",

@@ -39,5 +39,5 @@ "coveralls": "coveralls < coverage/lcov.info",

"babel-core": "^6.2.1",
"babel-istanbul": "^0.5.9",
"babel-preset-es2015": "^6.1.18",
"coveralls": "*",
"isparta": "*",
"mocha": "*",

@@ -51,5 +51,5 @@ "npm-run-all": "*",

"typographic-apostrophes-for-possessive-plurals": "^1.0.5",
"typographic-arrows": "^0.1.3",
"typographic-arrows": "^1.0.0",
"typographic-copyright": "^1.0.1",
"typographic-currency": "^0.1.7",
"typographic-currency": "^1.1.0",
"typographic-ellipses": "^1.0.11",

@@ -56,0 +56,0 @@ "typographic-em-dashes": "^1.0.2",

@@ -47,2 +47,20 @@ # typographic-base

## Batteries
| Package | Description | Example |
| :---------------- | :------------------------------ | :------------------- |
| [`typographic-apostrophes`][apostrophes] | Apostrophes in contractions and for possessive case. | `rock'n'roll` → `rock’n’roll` |
| [`typographic-quotes`][quotes] | Quotes for your text with respect to locale. | `"qoutes"` → `“qoutes”` |
| [`typographic-apostrophes-for-possessive-plurals`][plurals] | Apostrophes for possessive plurals. | `sisters'` → `sisters’` |
| [`typographic-arrows`][arrows] | Use real arrows. | `a <- b` → `a ← b` |
| [`typographic-copyright`][copyright] | Use real copyright symbol. | `(C)` → `©` |
| [`typographic-currency`][currency] | Use the correct symbol of currency. | `1usd` → `1$` |
| [`typographic-ellipses`][ellipses] | Avoid using periods and spaces. | `...` → `…` |
| [`typographic-em-dashes`][em] | Replaces `--` to em dash. | `--` → `—` |
| [`typographic-en-dashes`][en] | Safely replacing hyphens in a range of values with en dashes only. | `(1967-1994)` → `(1967–1994)` |
| [`typographic-math-symbols`][math] | Replaces alphabetic math symbols to real symbols. | `3 =< 2` → `3 ≤ 2` |
| [`typographic-registered-trademark`][registered] | Replaces alphabetic registered trademark to real symbol. | `(R)` → `®` |
| [`typographic-single-spaces`][spaces] | Replace many spaces to one space. | `one    two` → `one two` |
| [`typographic-trademark`][trademark] | Replaces alphabetic trademark to real symbol. | `(TM)` → `™` |
## License

@@ -52,2 +70,17 @@

[apostrophes]: https://github.com/iamstarkov/typographic-apostrophes
[quotes]: https://github.com/iamstarkov/typographic-quotes
[plurals]: https://github.com/iamstarkov/typographic-apostrophes-for-possessive-plurals
[arrows]: https://github.com/andrepolischuk/typographic-arrows
[copyright]: https://github.com/iamstarkov/typographic-copyright
[currency]: https://github.com/talgautb/typographic-currency
[ellipses]: https://github.com/iamstarkov/typographic-ellipses
[em]: https://github.com/iamstarkov/typographic-em-dashes
[en]: https://github.com/iamstarkov/typographic-en-dashes
[math]: https://github.com/iamstarkov/typographic-math-symbols
[registered]: https://github.com/iamstarkov/typographic-registered-trademark
[spaces]: https://github.com/iamstarkov/typographic-single-spaces
[trademark]: https://www.npmjs.com/package/typographic-trademark
[npm-url]: https://npmjs.org/package/typographic-base

@@ -54,0 +87,0 @@ [npm-image]: https://img.shields.io/npm/v/typographic-base.svg?style=flat-square

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc