typographic-arrows
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -0,0 +0,0 @@ |
{ | ||
"name": "typographic-arrows", | ||
"description": "Micro module for real arrows", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"keywords": [ | ||
@@ -18,4 +18,7 @@ "typographic", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "mocha" | ||
}, | ||
"author": "Andrey Polischuk <andre.polischuk@gmail.com>", | ||
"license": "MIT" | ||
} |
# typographic-arrows [![Build Status](https://travis-ci.org/andrepolischuk/typographic-arrows.svg?branch=master)](https://travis-ci.org/andrepolischuk/typographic-arrows) | ||
> Use real arrows, not alphabetic substitutes | ||
Micro module for real arrows | ||
@@ -8,3 +10,3 @@ | ||
```sh | ||
$ npm install typographic-arrows | ||
$ npm install --save typographic-arrows | ||
``` | ||
@@ -15,9 +17,10 @@ | ||
```js | ||
var arrows = require('typographic-arrows') | ||
var arrows = require('typographic-arrows'); | ||
arrows('a -> b') | ||
// a → b | ||
arrows('a => b') | ||
// a ⇒ b | ||
arrows('a <- b'); // a ← b | ||
arrows('a -> b'); // a → b | ||
arrows('a <-> b'); // a ↔ b | ||
arrows('a <= b'); // a ⇐ b | ||
arrows('a => b'); // a ⇒ b | ||
arrows('a <=> b'); // a ⇔ b | ||
``` | ||
@@ -24,0 +27,0 @@ |
@@ -0,0 +0,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
29
2087
6