random-int in sindresorhus/awesome-nodejs

Generate a random integer

created at June 26, 2015, 10:23 p.m.

JavaScript

6 +0

85 +0

16 +0

GitHub
matcher in sindresorhus/awesome-nodejs

Simple wildcard matching

created at Feb. 5, 2016, 6:58 a.m.

JavaScript

6 +0

534 +0

33 +0

GitHub
detect-indent in sindresorhus/awesome-nodejs

Detect the indentation of code

created at Aug. 11, 2013, 12:24 a.m.

JavaScript

9 +0

192 +0

27 +0

GitHub
strip-indent in sindresorhus/awesome-nodejs

Strip leading whitespace from each line in a string

created at March 29, 2014, 2:15 p.m.

JavaScript

8 +0

132 +0

18 +0

GitHub
indent-string in sindresorhus/awesome-nodejs

Indent each line in a string

created at June 6, 2014, 8:16 p.m.

JavaScript

7 +0

111 +0

17 +0

GitHub
splice-string in sindresorhus/awesome-nodejs

Remove or replace part of a string like Array#splice

created at Aug. 19, 2015, 6:27 p.m.

JavaScript

7 +0

23 +0

8 +0

GitHub
escape-string-regexp in sindresorhus/awesome-nodejs

Escape RegExp special characters

created at June 24, 2014, 3:04 p.m.

JavaScript

13 +0

570 +0

55 +0

GitHub
camelcase in sindresorhus/awesome-nodejs

Convert a dash/dot/underscore/space separated string to camelCase: foo-bar → fooBar

created at Oct. 12, 2014, 10:58 a.m.

JavaScript

14 +0

659 +0

100 +0

GitHub
string-length in sindresorhus/awesome-nodejs

Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes

created at April 16, 2014, 9:48 p.m.

JavaScript

9 +0

158 +2

12 +0

GitHub
image-type in sindresorhus/awesome-nodejs

Detect the image type of a Buffer/Uint8Array

created at April 21, 2014, 5:46 p.m.

JavaScript

10 +0

364 +1

16 +0

GitHub
pad-stream in sindresorhus/awesome-nodejs

Pad each line in a stream

created at Jan. 25, 2015, 10:03 a.m.

JavaScript

6 +0

11 +0

6 +0

GitHub
first-chunk-stream in sindresorhus/awesome-nodejs

Transform the first chunk in a stream

created at May 25, 2014, 3:42 p.m.

JavaScript

9 +0

27 +0

5 +0

GitHub
into-stream in sindresorhus/awesome-nodejs

Convert a string/promise/array/iterable/asynciterable/buffer/typedarray/arraybuffer/object into a stream

created at May 29, 2015, 10:47 p.m.

JavaScript

7 +0

205 +0

14 +0

GitHub
get-stream in sindresorhus/awesome-nodejs, avajs/awesome-ava

Get a stream as a string, Buffer, ArrayBuffer or array

created at Oct. 14, 2015, 5:22 p.m.

JavaScript

12 +0

331 +0

33 +0

GitHub
pkg-dir in sindresorhus/awesome-nodejs

Find the root directory of a Node.js project or npm package

created at Sept. 1, 2015, 7:39 a.m.

JavaScript

7 +0

227 +0

24 +0

GitHub
filenamify in sindresorhus/awesome-nodejs

Convert a string to a valid safe filename

created at Jan. 14, 2015, 5:23 a.m.

JavaScript

10 +0

477 +1

30 +0

GitHub
write-json-file in sindresorhus/awesome-nodejs

Stringify and write JSON to a file atomically

created at Sept. 2, 2015, 6:26 a.m.

JavaScript

7 +0

210 +0

42 +0

GitHub
load-json-file in sindresorhus/awesome-nodejs

Read and parse a JSON file

created at Sept. 2, 2015, 6:38 a.m.

JavaScript

8 +0

239 +1

51 +0

GitHub
find-up in sindresorhus/awesome-nodejs

Find a file or directory by walking up parent directories

created at Sept. 1, 2015, 7:12 a.m.

JavaScript

11 +0

569 +3

49 +0

GitHub
sudo-block in sindresorhus/awesome-nodejs

Block users from running your app with root permissions

created at June 23, 2013, 12:21 p.m.

JavaScript

6 +0

98 +0

12 +0

GitHub