Temporarily substitute tokens in the given `string` with placeholders, then put them back after transforming the string.
☆14Sep 25, 2016Updated 10 years ago
Alternatives and similar repositories for preserve
Users that are interested in preserve are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Create an array by repeating the given string n times.☆19Apr 7, 2021Updated 5 years ago
- Return true if the file is (or the file path has) a dotfile.☆14May 30, 2017Updated 9 years ago
- Returns `true` if a file path appears to be relative. Moved from the "relative" lib.☆14May 6, 2018Updated 8 years ago
- Returns an object with the base path and the actual pattern from a glob.☆17Apr 12, 2017Updated 9 years ago
- Returns true if a string has an extglob☆23May 25, 2019Updated 7 years ago
- Virtual machines for every use case on DigitalOcean • AdGet dependable uptime with 99.99% SLA, simple security tools, and predictable monthly pricing with DigitalOcean's virtual machines, called Droplets.
- Try to guess if your terminal supports unicode☆18Dec 16, 2020Updated 5 years ago
- Right-align the text in a string.☆19May 4, 2018Updated 8 years ago
- Removes all separators from the end of a string.☆12Dec 12, 2017Updated 8 years ago
- Moved to https://github.com/nodejs/string_decoder☆23Jun 21, 2017Updated 9 years ago
- Iterate over the own enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Ex…☆23Feb 27, 2017Updated 9 years ago
- Returns true if a value has the characteristics of a valid JavaScript descriptor. Works for data descriptors and accessor descriptors.☆12May 12, 2026Updated 5 months ago
- Returns true if a filepath is absolute. The original path-is-absolute.☆22Jul 13, 2017Updated 9 years ago
- ES2015 `String#codePointAt()` ponyfill☆23Jan 23, 2021Updated 5 years ago
- A cache for managing namespaced sub-caches☆14Sep 4, 2021Updated 5 years ago
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- Detect whether or not an object is a Typed Array☆22Jan 23, 2024Updated 2 years ago
- Like `new Map` but for older JavaScripts☆21Oct 25, 2025Updated last year
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 5 years ago
- Answers the question: "can this value have keys?". Returns true if a value is any of the object types: array, regexp, plain object, funct…☆19Aug 20, 2021Updated 5 years ago
- DES for browserify☆10Dec 21, 2024Updated last year
- Does a shallow comparison of two objects, returning false if the keys or values differ.☆29May 14, 2018Updated 8 years ago
- Check if a number is a redirect HTTP status code☆25Sep 18, 2026Updated last month
- ☆20Oct 18, 2021Updated 5 years ago
- Create an object path (dot notation) from a list or array of strings.☆16Dec 31, 2020Updated 5 years ago
- GPU virtual machines on DigitalOcean Gradient AI • AdGet to production fast with high-performance AMD and NVIDIA GPUs you can spin up in seconds. The definition of operational simplicity.
- shim for require.main.filename() that works in as many environments as possible☆20Dec 15, 2023Updated 2 years ago
- Faster, bash-like range expansion. Expand a range of numbers or letters, uppercase or lowercase. See the benchmarks.☆25Nov 26, 2018Updated 7 years ago
- node's assert.deepEqual algorithm except for the fact that (NaN === NaN) and (+0 !== -0).☆21Sep 4, 2021Updated 5 years ago
- Map `visit` over an array of objects.☆17Jun 27, 2022Updated 4 years ago
- Returns true if a value has the characteristics of a valid JavaScript accessor descriptor.☆15Jul 12, 2026Updated 3 months ago
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 5 years ago
- Is the typeof value a javascript primitive?☆37Mar 20, 2021Updated 5 years ago
- Expand POSIX bracket expressions (character classes) in glob patterns.☆27Oct 4, 2021Updated 5 years ago
- Is this value a JS Date object? This module works cross-realm/iframe, and despite ES6 @@toStringTag.☆16Dec 30, 2025Updated 10 months ago
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- A transform to make UglifyJS work in browserify☆20Feb 18, 2020Updated 6 years ago
- schema package for HTTPArchive (HAR)☆23Jun 4, 2020Updated 6 years ago
- Visit a method over the items in an object, or map visit over the objects in an array. This is an alternative approach to using extend or…☆20Dec 15, 2020Updated 5 years ago
- ☆26Dec 7, 2017Updated 8 years ago
- process.nextTick always accepts args, always☆34Jun 19, 2019Updated 7 years ago
- Center-align the text in a string.☆23May 26, 2017Updated 9 years ago
- Copy static properties, prototype properties, and descriptors from one object to another☆15Dec 16, 2020Updated 5 years ago