Skip to content

Commit

Permalink
Merge pull request #3 from thk2b/v1.1
Browse files Browse the repository at this point in the history
V1.1
  • Loading branch information
thk2b authored Nov 26, 2017
2 parents 7947c4e + 06939ff commit a067eb4
Show file tree
Hide file tree
Showing 10 changed files with 775 additions and 215 deletions.
4 changes: 2 additions & 2 deletions example.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
const check = require('./index')
const {assert, check, modifiers} = require('./index')
const {add, any, not, nonEmpty} = modifiers

check([Function])([console.log, a => {console.log(a)}, ''])
8 changes: 6 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
const check = require('./src')
const { check, assert, modifiers } = require('./src')

module.exports = check
module.exports = {
check,
assert,
modifiers
}
Loading

0 comments on commit a067eb4

Please sign in to comment.