Skip to content

Latest commit

 

History

History
25 lines (14 loc) · 1.13 KB

readme.md

File metadata and controls

25 lines (14 loc) · 1.13 KB

ow-shim

Drop-in replacement to make ow validation library a noop in production.

NPM Build Status JavaScript Style Guide

Install

npm install --save ow-shim

Usage

There's no standard way to replace your usage of ow with ow-shim in production, but webpack's resolve.alias config option works well.

Any ow statements will effectively be turned into no-ops.

You may also want to use this shim to cut down on browser bundle size.

License

MIT © Travis Fischer

Support my OSS work by following me on twitter twitter