Search results

1000+ packages found

ECMAScript “ToPrimitive” algorithm. Provides ES5 and ES2015 versions.

published version 1.3.0, 7 days ago1334 dependents licensed under $MIT
148,977,179

Determine if the JS environment has `Symbol.toStringTag` support. Supports spec, or shams.

published version 1.0.2, 10 months ago1128 dependents licensed under $MIT
164,385,004

Gets the description of a Symbol. Handles `Symbol()` vs `Symbol('')` properly when possible.

published version 1.0.2, 10 months ago1009 dependents licensed under $MIT
130,515,079

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

published version 6.0.0, a year ago1165 dependents licensed under $MIT
128,577,133

Colored symbols for various log levels. Example: `✔︎ Success`

published version 7.0.0, 4 months ago5683 dependents licensed under $MIT
161,697,624

Unicode symbols with fallbacks for older terminals

published version 6.1.0, 9 months ago2587 dependents licensed under $MIT
171,857,274

Determine if a value is an ES6 Symbol or not.

published version 1.1.0, a day ago1378 dependents licensed under $MIT
155,315,507

Symbol.observable ponyfill

published version 4.0.0, 4 years ago519 dependents licensed under $MIT
61,269,100

Recursively (deep) clone JavaScript native types, like Object, Array, RegExp, Date as well as primitives.

published version 4.0.1, 6 years ago1302 dependents licensed under $MIT
78,377,930

Returns an array of all enumerable symbol properties found directly upon a given object

published version 3.0.2, 5 years ago263 dependents licensed under $ISC
30,690,302

Turn any collection of objects into its own efficient tree or linked list using Symbol

published version 3.2.4, 5 years ago696 dependents licensed under $MIT
92,950,631

Assign the enumerable es6 Symbol properties from one or more objects to the first object passed on the arguments. Can be used as a supplement to other extend, assign or merge methods as a polyfill for the Symbols part of the es6 Object.assign method.

published version 2.0.2, 6 years ago806 dependents licensed under $MIT
63,728,693

micromark utility with symbols

published version 2.0.1, 21 days ago120 dependents licensed under $MIT
38,640,628

ECMAScript 6 Symbol polyfill

published version 3.1.4, 9 months ago358 dependents licensed under $ISC
42,334,520

Returns `true` if the value is a primitive.

published version 3.0.1, 6 years ago255 dependents licensed under $MIT
17,861,967

Iterate any JS iterator. Works robustly in all environments, all versions.

published version 1.0.2, 3 years ago290 dependents licensed under $MIT
9,024,129

Iterate any iterable JS value. Works robustly in all environments, all versions.

published version 1.0.2, 5 years ago295 dependents licensed under $MIT
9,009,471

Spec-compliant shim for Symbol.prototype.description proposal.

published version 1.0.6, 10 months ago33 dependents licensed under $MIT
5,454,023

Detect native Symbol.toStringTag support.

published version 0.2.2, 4 months ago7 dependents licensed under $Apache-2.0
1,716,694

An ESnext spec-compliant shim/polyfill/replacement for all Well-Known Symbols that works in any environment with Symbols.

published version 4.0.0, 2 years ago23 dependents licensed under $MIT
2,279,618