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
- Deploy open-source AI quickly and easily - Special Bonus Offer • AdRunpod Hub is built for open source. One-click deployment and autoscaling endpoints without provisioning your own infrastructure.
- Like `new Map` but for older JavaScripts☆21Oct 25, 2025Updated last year
- Returns true if a string has an extglob☆23May 25, 2019Updated 7 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
- Try to guess if your terminal supports unicode☆18Dec 16, 2020Updated 5 years ago
- Does a shallow comparison of two objects, returning false if the keys or values differ.☆29May 14, 2018Updated 8 years ago
- Right-align the text in a string.☆19May 4, 2018Updated 8 years ago
- Returns true if a filepath is absolute. The original path-is-absolute.☆22Jul 13, 2017Updated 9 years ago
- Removes all separators from the end of a string.☆12Dec 12, 2017Updated 8 years ago
- Detect whether or not an object is a Typed Array☆22Jan 23, 2024Updated 2 years ago
- AI Agents on DigitalOcean Gradient AI Platform • AdBuild production-ready AI agents using customizable tools or access multiple LLMs through a single endpoint. Create custom knowledge bases or connect external data.
- Get the length of the longest item in an array.☆30Apr 4, 2018Updated 8 years ago
- Moved to https://github.com/nodejs/string_decoder☆23Jun 21, 2017Updated 9 years ago
- Native OS module API shim for older node.js versions☆12Jun 12, 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
- 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
- Fallback to a default if `process.stdout.getWindowSize` doesn't exist☆24Jan 21, 2026Updated 9 months ago
- 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
- Managed Kubernetes at scale on DigitalOcean • AdDigitalOcean Kubernetes includes the control plane, bandwidth allowance, container registry, automatic updates, and more for free.
- ES2015 `String#codePointAt()` ponyfill☆23Jan 23, 2021Updated 5 years ago
- DES for browserify☆10Dec 21, 2024Updated last year
- Expand POSIX bracket expressions (character classes) in glob patterns.☆27Oct 4, 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 last month
- ☆20Oct 18, 2021Updated 5 years 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
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- 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
- Check if an object can be used like an Array☆17Sep 13, 2025Updated last year
- 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
- Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in olde…☆20Dec 30, 2025Updated 10 months ago
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 5 years ago