Skip to content

Latest commit

 

History

History
51 lines (35 loc) · 800 Bytes

.verb.md

File metadata and controls

51 lines (35 loc) · 800 Bytes

{%= name %} {%= badge("fury") %}

{%= description %}

Install

{%= include("install-npm", {save: true}) %}

Usage

var expand = require('{%= name %}');

Pass an array or list of strings:

expand('{foo,bar}', '{baz,quux}');
// or
expand(['{foo,bar}', '{baz,quux}']);
// both yield => [ 'foo', 'bar', 'baz', 'quux' ];

Pass a function as the last argument to customize output:

expand(['{a..e}', '{f..h}'], function (str) {
  return '_' + str;
});

//=> ['_a', '_b', '_c', '_d', '_e', '_f', '_g', '_h']

Related projects

{%= related(verb.related.list) %}

Running tests

{%= include("tests") %}

Contributing

{%= include("contributing") %}

Author

{%= include("author") %}

License

{%= copyright() %} {%= license() %}


{%= include("footer") %}