Skip to content

gberger/node-word-array

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-word-array

You're a rubyist and you like this syntax:

%w(one two three)
# => ['one', 'two', 'three']

Now you can do this in JS:

w('one two three')
// => ['one', 'two', 'three']

Or in Coffee:

w 'one two three'
# => ['one', 'two', 'three']

Installation

npm install word-array

Usage

w = require('word-array')
w('one two three')
// => ['one', 'two', 'three']

About

😆 Similar to Ruby's %w. Create word arrays.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published