Is the typeof value a javascript primitive?
☆37Mar 20, 2021Updated 5 years ago
Alternatives and similar repositories for is-primitive
Users that are interested in is-primitive are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Temporarily substitute tokens in the given `string` with placeholders, then put them back after transforming the string.☆14Sep 25, 2016Updated 10 years ago
- 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
- 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.
- Like `new Map` but for older JavaScripts☆21Oct 25, 2025Updated last year
- Returns true if a filepath is absolute. The original path-is-absolute.☆22Jul 13, 2017Updated 9 years ago
- Does a shallow comparison of two objects, returning false if the keys or values differ.☆29May 14, 2018Updated 8 years ago
- Returns true if a string has an extglob☆24May 25, 2019Updated 7 years ago
- Right-align the text in a string.☆19May 4, 2018Updated 8 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…☆24Feb 27, 2017Updated 9 years ago
- Try to guess if your terminal supports unicode☆19Dec 16, 2020Updated 5 years ago
- Detect whether or not an object is a Typed Array☆22Jan 23, 2024Updated 2 years ago
- Removes all separators from the end of a string.☆12Dec 12, 2017Updated 8 years ago
- Managed Kubernetes at scale on DigitalOcean • AdDigitalOcean Kubernetes includes the control plane, bandwidth allowance, container registry, automatic updates, and more for free.
- Get the length of the longest item in an array.☆30Apr 4, 2018Updated 8 years ago
- Native OS module API shim for older node.js versions☆12Jun 12, 2017Updated 9 years ago
- ES2015 `String#codePointAt()` ponyfill☆23Jan 23, 2021Updated 5 years ago
- Basic cache object for storing key-value pairs. Based on MapCache in Lo-dash 3.0☆20May 10, 2016Updated 10 years ago
- A cache for managing namespaced sub-caches☆14Sep 4, 2021Updated 5 years ago
- Moved to https://github.com/nodejs/string_decoder☆23Jun 21, 2017Updated 9 years ago
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 5 years ago
- Returns true if a value has the characteristics of a valid JavaScript descriptor. Works for data descriptors and accessor descriptors.☆13Nov 11, 2026Updated last week
- Fallback to a default if `process.stdout.getWindowSize` doesn't exist☆25Jan 21, 2026Updated 10 months ago
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- DES for browserify☆10Dec 21, 2024Updated last year
- Expand POSIX bracket expressions (character classes) in glob patterns.☆27Oct 4, 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…☆20Aug 20, 2021Updated 5 years ago
- Copy static properties, prototype properties, and descriptors from one object to another☆15Dec 16, 2020Updated 5 years ago
- Check if a number is a redirect HTTP status code☆25Sep 18, 2026Updated 2 months ago
- Center-align the text in a string.☆23May 26, 2017Updated 9 years ago
- Create an object path (dot notation) from a list or array of strings.☆16Dec 31, 2020Updated 5 years ago
- 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.☆24Nov 26, 2018Updated 7 years ago
- Open source password manager - Proton Pass • AdSecurely store, share, and autofill your credentials with Proton Pass, the end-to-end encrypted password manager trusted by millions.
- ☆21Oct 18, 2021Updated 5 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 4 months ago
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 5 years ago
- A library to make errors.☆12Oct 23, 2021Updated 5 years ago
- Check if an object can be used like an Array☆18Sep 13, 2025Updated last year
Are these results useful?