115 packages found

M
Q
P

Description

Repeat the given string n times. Fastest implementation for repeating a string.

Keywords

Publisher

published 1.6.14 years ago
M
Q
P

Description

Trim newlines from the start and/or end of a string

Keywords

Publisher

published 3.0.0a year ago
M
Q
P
M
Q
P

Description

A Typescript implementation of the Either data type

Keywords

Publisher

published 3.0.07 months ago
M
Q
P

Description

Look what's to the left or the right of a given index within a string

Keywords

Publisher

published 2.3.242 months ago
M
Q
P

Description

Do substrings match what's on the left or right of a given index?

Keywords

Publisher

published 4.0.82 months ago
M
Q
P

Description

An array is a collection of values, stored contiguously.

Keywords

Publisher

published 2.10.711 days ago
M
Q
P

Description

Testing in javascript made easier.

Keywords

Publisher

published 0.0.2124 days ago
M
Q
P

Description

An iterable is a sequence of values.

Keywords

Publisher

published 2.5.124 days ago
M
Q
P

Description

Left pad a string with zeros or a specified string. Fastest implementation.

Keywords

Publisher

published 2.1.04 years ago
M
Q
P

Description

Linear-time Partitioning. Runtime: O(n). Chooses a pivot and re-arrages the array so that everything on the left is <= pivot and everything on the right is > pivot

Keywords

Publisher

published 1.0.12 months ago
M
Q
P

Description

Writing tests by redacting instead of mocking.

Keywords

Publisher

published 0.0.11a year ago
M
Q
P
M
Q
P

Description

Calculate the size and position of scaling on a single axis from anywhere on that axis. This works for any system that calculates from the top or left, like the browser dom!

Keywords

Publisher

published 1.0.15 years ago
M
Q
P

Description

Sorting by insertion - Look for bigger numbers on the left side. Runtime: O(n^2). It starts from the 2nd element, and it tries to find any element (to the left) that could be bigger than the current index. It will move all the elements that are bigger and

Keywords

Publisher

published 1.0.12 months ago
M
Q
P

Description

word-wraps and lays out text glyphs - without unsafe eval

Keywords

Publisher

published 1.3.4a month ago
M
Q
P

Description

word-wraps and lays out text glyphs - fork of layout-bmfont-text

Keywords

Publisher

published 1.3.55 months ago
M
Q
P

Description

An array is a collection of values, stored contiguously.

Keywords

Publisher

published 2.10.711 days ago
M
Q
P

Description

Calculate the size and position of scaling (uniformly or not) on multiple axis' from any point. This works well for any system that calculates from the top or left, like your browser's dom!

Keywords

Publisher

published 1.0.05 years ago
M
Q
P

Description

String right pad

Keywords

Publisher

published 1.0.03 years ago