sindresorhus/
Function argument validation for humans
USD raised
Recent activities
Make it easy to extend and add custom predicates
Large bundle size
Add `optional` predicate
`object.exactShape` validator thows incorrect error when using nested object
Report multiple type errors
Improve `not` error messages
Custom error message
Object shape validator
TypeScript optional function argument throws error TS2345 with `ow.optional.function`
Run tests on the bundled code
Unclear error message when checking NaN against the number type
Return array of errors throw in `ow.any`
use browser-side
generate objects from predicate
Error running with metro bundler
string.nonBlank validator
Package does not seem to work on node v8 `SyntaxError: Unexpected token {`
Bug: `isValid` wrong typing
Add a TypeScript utility for type inference
Do not use `type-fest`
Issue with ArrayPredicates and .any checka
bug with esm
ow.create does not return an Assertion Functions type / `asserts` annotation is missing
Add `method` helper
ow.object.exactShape does not treat undefined values correctly
undefined and null aren't handled properly by ow.object
Composition
Is there a way for an object predicate to differentiate between key with value `undefined`, and key not present?
should `ow.string.equals` be narrowing the type to specific strings?
wrong message: Expected `e` to be of type .... - instead of Expected argument to be of type
Show all possible errors exhaustively (option?)
const values
Q: how to make custom type narrowing validator (i.e. Predicate<x>)?
metadata
Documentation is 404
Build errors when using ow in React app compiled with vite
Upgrading to 1.1.0 from older version makes TS complain
correct pattern for optional 'required' properties?
Cannot find module 'ow' or its corresponding type declarations
Question: browser-only version
ow.any() validation returns true for all inputs in v3.1.0
Predicates for "not undefined" and "optional not undefined"
export `ArgumentError` from package
Run TS as a require hook for tests instead of precompile
Nullable modifier
Alias `.of` for `.ofType`
Ow identification method
Not working in browser
Add support for the new `asserts` keyword in TS 3.7
Babel plugin for inference of labels
Check if string is email address
Using ow across npm modules
Support BigInt validator
Async validator
Mandatory parameters?
Add browser tests
Update Readme with "why" and practical examples
Use Ow in conditional checks
Env variable to turn off validation?
Use alternative Webpack require approach
TypeScript 3
ow can't work with "next" framework.
Add option to override/remove type label in error message
Retrieve expected type `ow` validated
Method ow.object.exactShape does not work in ow versions higher than 0.19.0
`Ow` instances are mutable
Improve performance and document performance tips
Type definition error, expression is not callable.
Logs the enitre source file when throwing an error.
Add a `.catching()` method to Predicate to allow nesting ow validators
how to add a predicate to ofType
ow.object validator does not work with Class|undefined from TS
Static type error for `ow.object.valuesOfType()`
Documentation bug?
Tuple types in Ow?
Printed trace is confusing
Are the predicates in this lib, Typescript predicates??
SyntaxError: invalid regexp group
Wrong typings for `array.ofType` used with `any` predicate
'dev-only.js' is not published
Add method to return the error without throwing
Š 2019 BoostIO, Inc.