1.0.0 • Published 9 years ago

get-arrows v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

get-arrows Build Status

Get a set of unicode arrows.

Install

$ npm install --save get-arrows

Usage

var getArrows = require('get-arrows');

var arrows = getArrows({
	direction: 'n',
	amount: 5
});

console.log(arrows);
//=> [ '⇑', '⇈', '⇮', '↾', '⇧' ]

CLI

$ npm install --g get-arrows
$ get-arrows --help
	
		Usage
			$ get-arrows <direction> <amount>

		Direction
		  Accepted directions:
		  n, ne, e, se, s, sw, w, nw, ns and se

		Amount
		  There is a limited amount of arrows available. If exceeded, all available arrows will be returned.

		Examples
		  $ get-arrows n 4
		  ⇭ ⇡ ⇧ ↟

License

MIT © David Öhlin