strnum
npmv2.4.1Parse String to Number based on configuration
Overview
strnum is an npm package that parse String to Number based on configuration. The latest version is 2.4.1, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need parse String to Number based on configuration and value a focused solution.
When not to use it
Consider an alternative if you need to have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.
Pros
- Clear open-source license (MIT).
- Lean dependency tree (3 direct dependencies).
Cons
- No bundled TypeScript types (may require a separate @types package).
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of strnum.
Dependencies
Runtime (1)
Dev (2)
Used by
Popular packages that depend on strnum.
Alternatives to strnum
Utility to parse a string bytes to bytes and vice-versa
A robust polyfill for the `CSS.escape` utility method as defined in CSSOM.
Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow
Determine the East Asian Width of a Unicode character
Parse JSON with more helpful errors
Strip UTF-8 byte order mark (BOM) from a string
Convert a dash/dot/underscore/space separated string to camelCase or PascalCase: `foo-bar` → `fooBar`
An error subclass for wrapping non-error values
Functions for dealing with a PostgreSQL connection string
Get the visual width of a string - the number of columns required to display it
Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes
Parse and stringify URL query strings
Frequently installed together
TypeScript definitions for node
An AST-based pattern checker for JavaScript.
Prettier is an opinionated code formatter
Externalise references to helpers and builtins, automatically polyfilling your code without polluting globals
Entity parser for XML, HTML, External entites with security and NCR control
Build XML from JSON without C/C++ based libraries
Zero-dependency, DOM-free, pure predicate for detecting unsafe strings across HTML, XML, SVG, SQL, SHELL, and REGEX contexts
Packs ECMAScript/CommonJs/AMD modules for the browser. Allows you to split your codebase into multiple bundles, which can be loaded on demand. Supports loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff.
Validates XML name productions — Name, NCName, QName, NMToken, NMTokens — for XML 1.0 and 1.1
Version history
| Version | Published | License |
|---|---|---|
| 2.4.1latest | 1 month ago | MIT |
| 2.4.0 | 1 month ago | MIT |
| 2.3.0 | 2 months ago | MIT |
| 2.2.3 | 3 months ago | MIT |
| 2.2.2 | 4 months ago | MIT |
| 2.2.1 | 4 months ago | MIT |
| 2.2.0 | 4 months ago | MIT |
| 2.1.2 | 7 months ago | MIT |
| 2.1.1 | 1 year ago | MIT |
| 2.1.0 | 1 year ago | MIT |
| 2.0.5 | 1 year ago | MIT |
| 1.1.2 | 1 year ago | MIT |
| 1.1.1 | 1 year ago | MIT |
| 2.0.4 | 1 year ago | MIT |
| 2.0.3 | 1 year ago | MIT |
| 2.0.2 | 1 year ago | MIT |
| 2.0.1 | 1 year ago | MIT |
| 2.0.0 | 1 year ago | MIT |
| 1.1.0 | 1 year ago | MIT |
| 1.0.5 | 4 years ago | MIT |
Maintainers
Funding
Frequently asked questions
How do I install strnum?
Run `npm install strnum` to add strnum to your npm project.
What license is strnum released under?
strnum is distributed under the MIT license.
How popular is strnum?
strnum has approximately 0 downloads per week and 1 known dependent packages.