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
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
Manipulate strings with prefixes and suffixes.
When you have an error-ish but what you really want is an Error
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.
Retry a function until or while it passes an assertion
[![install size](https://packagephobia.now.sh/badge?p=ctor-ensure)](https://packagephobia.now.sh/result?p=ctor-ensure) [![npm version](https://badge.fury.io/js/ctor-ensure.svg)](https://badge.fury.io/js/ctor-ensure) [![codecov](https://codecov.io/gh/Blvck
mongoose validation to ensure referenced object id exists
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
Assertions to do some runtime type checking
Ensures that the file path exists.
Create all directories on the way to the path.
Ensure that node is run as the correct version, and uses --harmony, if needed
You are up a creek; here is your paddle. Paddle provides a way ensuring that JS asynchronous callbacks are actually ran, or calls a provided error function upon timeout.