javascript packages
Packages tagged with "javascript".
28 packages
An AST-based pattern checker for JavaScript.
`Object.defineProperty`, but not IE 8's broken one.
A JavaScript text diff implementation.
Robustly `.call.bind()` a function
ECMAScript parsing infrastructure for multipurpose analysis
Is this an arguments object? It's a harder question than you think.
AST utils for webassemblyjs
An Esprima-compatible JavaScript parser built on Acorn
WebAssembly binary format parser
A query library for ECMAScript AST using a CSS selector like query language.
prelude.ls is a functionally oriented utility library. It is powerful and flexible. Almost all of its functions are curried. It is written in, and is the recommended base library for, LiveScript.
The fastest directory crawler & globbing alternative to glob, fast-glob, & tiny-glob. Crawls 1m files in < 1s
Determine if the JS environment has `Symbol.toStringTag` support. Supports spec, or shams.
Is this value a JS SharedArrayBuffer?
Robust call-bound JavaScript intrinsics, using `call-bind` and `get-intrinsic`.
ES Object-related atoms: Object, ToObject, RequireObjectCoercible
A robust, ES3 compatible, "has own property" predicate.
Get and robustly cache all JS language-level intrinsics at first require time
Which kind of boxed JS primitive is this?
A simple cache for a few of the JS Error constructors.
`Object.getOwnPropertyDescriptor`, but accounts for IE's broken implementation.
Set a function's length property
Given some data, jsesc returns the shortest possible stringified & ASCII-safe representation of that data.
JS type check (TypeScript supported) functions like `isPlainObject() isArray()` etc. A simple & small integration.
WebAssembly text format printer
Define a data property on an object. Will fall back to assignment in an engine without descriptors.
Determine whether an AST node is a reference
A JavaScript parser