map-types
Map single letter abbreviations to javascript native types. Useful as a shorthand for pseudo-argument destructuring when debugging.
Install
npm:
Install withnpm i map-types --save-dev
Run tests
npm test
Usage
var abbrev = ; //=> ['array'] //=> ['boolean'] //=> ['function'] //=> ['number'] //=> ['object'] //=> ['regexp'] //=> ['string'] //=> ['symbol']
Multiple letters are possible:
//=> ['string'] //=> ['string', 'string'] //=> ['string', 'string', 'object'] //=> ['string', 'string', 'object', 'object']
Author
Jon Schlinkert
License
Copyright (c) 2014 Jon Schlinkert, contributors.
Released under the MIT license
This file was generated by verb-cli on October 10, 2014.