Search results
108 packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
Convert a value to an array
Ensure directories exist before writing to them.
Async module-loading library and protocol for bundlers/loaders targeting isomorphic apps and Node.js.
Ensure runtime type safety and perform type coercion if needed.
Ensures a value is a valid error by making it one if not
Additional mongoose schema validations
- mongoose
- mongoose-plugin
- validate
- checkit
- validator
- test
- ensure
- valid8
- valid
- validr
- validation
- capitalize
- startcase
- View more
Ensures value is defined (i.e., neither undefined nor null).
A mongoose plugin, improving 'Model.ensureIndexes' method, allowing also deletion of unused indexes and reindexing with changed options.
A lightweight utility to check the presence and validity of environment variables, as specified by a Zod schema
- env
- environment
- variables
- check
- check-env-vars
- check-env
- check-env-variables
- validate
- validate-env-vars
- validate-env
- validate-env-variables
- ensure
- ensure-env-vars
- ensure-env
- View more
When you have an error-ish but what you really want is an Error
Human friendly file system utilities for Node.js
- anolilab
- detect-newline
- dir
- directory
- eol
- empty-dir
- ensure
- ensure-file
- ensure-dir
- ensure-link
- ensure-symlink
- file
- files
- filesystem
- View more
Retry a function until or while it passes an assertion
Create all directories on the way to the path.
Manipulate strings with prefixes and suffixes.
mongoose validation to ensure referenced object id exists
Assertions to do some runtime type checking
Ensure that node is run as the correct version, and uses --harmony, if needed
Ensures that the file path exists.
Make sure a directory exists and create the non-exist ones.
[](https://packagephobia.now.sh/result?p=ctor-ensure) [](https://badge.fury.io/js/ctor-ensure) [![codecov](https://codecov.io/gh/Blvck