{"_id":"typs","_rev":"46-d881b722ba35eda633d15c59cd5159cc","name":"typs","description":"An handy library for type validation in Javascript","dist-tags":{"latest":"3.0.0"},"versions":{"0.1.0":{"name":"typs","version":"0.1.0","description":"An handy library for type validation in Javascript","main":"typs-transpiled.js","scripts":{"test":"node test-transpiled.js"},"repository":{"type":"git","url":"https://github.com/mattecapu/typs.git"},"keywords":["types","type-checking","validation","tool"],"author":{"name":"Matteo Capucci","email":"mattecapu@live.it"},"license":"MIT","bugs":{"url":"https://github.com/mattecapu/typs/issues"},"homepage":"https://github.com/mattecapu/typs","devDependencies":{"grunt":"^0.4.5","grunt-contrib-watch":"^0.6.1","grunt-react":"^0.10.0"},"dependencies":{"bluebird":"^2.3.11"},"gitHead":"4a62a714bc2a7ae23109477c0a1c147e0434f62d","_id":"typs@0.1.0","_shasum":"55375318b46f0ae52bc44c826f478003b3d85830","_from":"./","_npmVersion":"1.4.28","_npmUser":{"name":"mattecapu","email":"mattecapu@live.it"},"maintainers":[{"name":"mattecapu","email":"mattecapu@live.it"}],"dist":{"shasum":"55375318b46f0ae52bc44c826f478003b3d85830","tarball":"https://registry.npmjs.org/typs/-/typs-0.1.0.tgz","integrity":"sha512-5EMqkdk8wvHYBBA53rDQx4w1ex/qMboVWQCNOahNZDeKJz+y8ncHermCVL6+l5Dfpq/UEwt55LbQkNRVWLZiAg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCr4vPBPQQjssfJ5fLwd98elJcTT/S1cLjJbPuXyT/zvAIgTxmqSW389CLYHVj9OqUIm4Hjhqf4u9vlaI6imzu1fms="}]}},"0.2.1":{"name":"typs","version":"0.2.1","description":"An handy library for type validation in Javascript","main":"typs-transpiled.js","scripts":{"test":"node test-transpiled.js"},"repository":{"type":"git","url":"https://github.com/mattecapu/typs.git"},"keywords":["types","type-checking","validation","tool"],"author":{"name":"Matteo Capucci","email":"mattecapu@live.it"},"license":"MIT","bugs":{"url":"https://github.com/mattecapu/typs/issues"},"homepage":"https://github.com/mattecapu/typs","devDependencies":{"grunt":"^0.4.5","grunt-contrib-watch":"^0.6.1","grunt-react":"^0.10.0"},"dependencies":{"bluebird":"^2.3.11"},"gitHead":"a99b4a6b555095c1313d24242b33fc87f9adbac7","_id":"typs@0.2.1","_shasum":"d5afdd662469d0e997ebf36038cf2893b28ade28","_from":"./","_npmVersion":"1.4.28","_npmUser":{"name":"mattecapu","email":"mattecapu@live.it"},"maintainers":[{"name":"mattecapu","email":"mattecapu@live.it"}],"dist":{"shasum":"d5afdd662469d0e997ebf36038cf2893b28ade28","tarball":"https://registry.npmjs.org/typs/-/typs-0.2.1.tgz","integrity":"sha512-cwqCct+mbx/NRKLX7XmLOyx2esiMmbeu7JmCVDTpuiPu75ueLBxGFuBbKBZSI33hpAhasR4QSUmnhjRt0FMnQQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDIZAkR3wfZMecbQOfDwjLrTW+F7UOwrKPp/OQ5EnotNQIhAPyXC6cIvf5h/VpGQXWRRK6rxRiS2o/VqObqokANeSSd"}]}},"0.2.2":{"name":"typs","version":"0.2.2","description":"An handy library for type validation in Javascript","main":"typs-transpiled.js","scripts":{"test":"node test-transpiled.js"},"repository":{"type":"git","url":"https://github.com/mattecapu/typs.git"},"keywords":["types","type-checking","validation","tool"],"author":{"name":"Matteo Capucci","email":"mattecapu@live.it"},"license":"MIT","bugs":{"url":"https://github.com/mattecapu/typs/issues"},"homepage":"https://github.com/mattecapu/typs","devDependencies":{"grunt":"^0.4.5","grunt-contrib-watch":"^0.6.1","grunt-react":"^0.10.0"},"dependencies":{"bluebird":"^2.3.11"},"gitHead":"df70550987b1c132b5259cf25962611f9ca5b3de","_id":"typs@0.2.2","_shasum":"85b921116ed9dac2d170f703f9db8d66f78d127f","_from":"./","_npmVersion":"1.4.28","_npmUser":{"name":"mattecapu","email":"mattecapu@live.it"},"maintainers":[{"name":"mattecapu","email":"mattecapu@live.it"}],"dist":{"shasum":"85b921116ed9dac2d170f703f9db8d66f78d127f","tarball":"https://registry.npmjs.org/typs/-/typs-0.2.2.tgz","integrity":"sha512-Jo5yIRqADqcvDbLKTZaY5SzLt4HSR3gSa1ve120fdRAJsJ/yTzduKOzR178YfqZfbRWfNG/hx6HpdycrFaC7Wg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCnJbyfnDR5L5/lStHoJ4nklCEGvCixs5nNK22oioP3BQIgeB52F4qG/uIhW2Yzr5RHlmIu5LIDOSOfjW4YklI8RJM="}]}},"0.2.3":{"name":"typs","version":"0.2.3","description":"An handy library for type validation in Javascript","main":"typs-transpiled.js","scripts":{"test":"node test-transpiled.js"},"repository":{"type":"git","url":"https://github.com/mattecapu/typs.git"},"keywords":["types","type-checking","validation","tool"],"author":{"name":"Matteo Capucci","email":"mattecapu@live.it"},"license":"MIT","bugs":{"url":"https://github.com/mattecapu/typs/issues"},"homepage":"https://github.com/mattecapu/typs","devDependencies":{"grunt":"^0.4.5","grunt-contrib-watch":"^0.6.1","grunt-react":"^0.10.0"},"dependencies":{"bluebird":"^2.3.11"},"gitHead":"3658a3b8731036ab098948112ceecef7fca5416b","_id":"typs@0.2.3","_shasum":"c64a4b88c9443aaa6935dde28bee0b5599cc43cd","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"mattecapu","email":"mattecapu@live.it"},"maintainers":[{"name":"mattecapu","email":"mattecapu@live.it"}],"dist":{"shasum":"c64a4b88c9443aaa6935dde28bee0b5599cc43cd","tarball":"https://registry.npmjs.org/typs/-/typs-0.2.3.tgz","integrity":"sha512-0r+K7MDFIYxk81Y4+NERpGSVNvq84xgTLCE3+kkXuUmUQByGLYxsP+AtdcUxPOUihKeX7PwCtWKIzYqkfQiKvg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFBHnpYielGUyfW4BVUg0goyUODdNKOEfreYv2I6DLl1AiEAvS6Vi8CM/kCsmPmNJNq/V0dcV4IDcwnGT3w6fwoPk7s="}]}},"0.2.4":{"name":"typs","version":"0.2.4","description":"An handy library for type validation in Javascript","main":"typs-transpiled.js","scripts":{"test":"node test-transpiled.js"},"repository":{"type":"git","url":"https://github.com/mattecapu/typs.git"},"keywords":["types","type-checking","validation","tool"],"author":{"name":"Matteo Capucci","email":"mattecapu@live.it"},"license":"MIT","bugs":{"url":"https://github.com/mattecapu/typs/issues"},"homepage":"https://github.com/mattecapu/typs","devDependencies":{"grunt":"^0.4.5","grunt-contrib-watch":"^0.6.1","grunt-react":"^0.10.0"},"dependencies":{"bluebird":"^2.3.11"},"gitHead":"ba14c6c883d01b29cc846d000ed325a39f538b7c","_id":"typs@0.2.4","_shasum":"b7a7129f6515382ad9522867c63525b779a58910","_from":"./","_npmVersion":"1.4.28","_npmUser":{"name":"mattecapu","email":"mattecapu@live.it"},"maintainers":[{"name":"mattecapu","email":"mattecapu@live.it"}],"dist":{"shasum":"b7a7129f6515382ad9522867c63525b779a58910","tarball":"https://registry.npmjs.org/typs/-/typs-0.2.4.tgz","integrity":"sha512-01jkgZNd2DU44sqL1vhKaWK4EVLcaQu7ST5CJxWGPdeKmqscfzSfxpTpgNYGJT6+fnFROUmiBuY34CUNh912Jg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEaR6H80UqJsdgBiSDD+J7SYzNCkMGnQlvXQX9jAY/ETAiEA3gkh8qhA6rp1DGaqUVDhML1zmeaCyDj6EHGmZs0dAJM="}]}},"0.2.5":{"name":"typs","version":"0.2.5","description":"An handy library for type validation in Javascript","main":"typs-transpiled.js","scripts":{"test":"node test-transpiled.js"},"repository":{"type":"git","url":"https://github.com/mattecapu/typs.git"},"keywords":["types","type-checking","validation","tool"],"author":{"name":"Matteo Capucci","email":"mattecapu@live.it"},"license":"MIT","bugs":{"url":"https://github.com/mattecapu/typs/issues"},"homepage":"https://github.com/mattecapu/typs","devDependencies":{"grunt":"^0.4.5","grunt-contrib-watch":"^0.6.1","grunt-react":"^0.10.0"},"dependencies":{"bluebird":"^2.3.11"},"gitHead":"5e0f1a17f62f71bb099a19a5aff50e96c876d03a","_id":"typs@0.2.5","_shasum":"f7eb1202187e3281771b45cd619541c8dab448a1","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"mattecapu","email":"mattecapu@live.it"},"maintainers":[{"name":"mattecapu","email":"mattecapu@live.it"}],"dist":{"shasum":"f7eb1202187e3281771b45cd619541c8dab448a1","tarball":"https://registry.npmjs.org/typs/-/typs-0.2.5.tgz","integrity":"sha512-hmT/zpil1VfIXAp2cb9BybcgvF3yF5Kz9fw/0PP3WtS9ICD6PXEzGNqKVAglkLwvhNdwK8Bh+EXxuSB7S0hSMw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHx8cI+B/UrALNQeHAnte2Ijba+dnTYpaaDOscLLha3CAiEAijyj5YI+/mkBury0GhG/yD62SwiB0a9qBG9d/ocRyck="}]}},"0.2.6":{"name":"typs","version":"0.2.6","description":"An handy library for type validation in Javascript","main":"typs-transpiled.js","scripts":{"test":"node test-transpiled.js"},"repository":{"type":"git","url":"https://github.com/mattecapu/typs.git"},"keywords":["types","type-checking","validation","tool"],"author":{"name":"Matteo Capucci","email":"mattecapu@live.it"},"license":"MIT","bugs":{"url":"https://github.com/mattecapu/typs/issues"},"homepage":"https://github.com/mattecapu/typs","devDependencies":{"grunt":"^0.4.5","grunt-contrib-watch":"^0.6.1","grunt-react":"^0.10.0"},"dependencies":{"bluebird":"^2.3.11"},"gitHead":"b182599ff27619186fcbe4e1b916efd9d8b91f66","_id":"typs@0.2.6","_shasum":"9c7fa87e9d5242d1dc822f31cc7556ddba9226a0","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"mattecapu","email":"mattecapu@live.it"},"maintainers":[{"name":"mattecapu","email":"mattecapu@live.it"}],"dist":{"shasum":"9c7fa87e9d5242d1dc822f31cc7556ddba9226a0","tarball":"https://registry.npmjs.org/typs/-/typs-0.2.6.tgz","integrity":"sha512-k1Vs80kYC1a1mV28kWQkYUorfE5ZjgQyil/R7Fch4gbGV594NmXcl7ewqa0aSb0eydj9s3P3ElC2XEzd3SV4BA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCfcLHOsmb/VWTAEEUDQQYYZxNbavqtVIFN+XYQ/YuVSQIgXIdk6M5izdI8qxFLt1HhJTbzTFxag2SyKXrTpsArxKs="}]}},"0.2.7":{"name":"typs","version":"0.2.7","description":"An handy library for type validation in Javascript","main":"typs-transpiled.js","scripts":{"test":"node test-transpiled.js"},"repository":{"type":"git","url":"https://github.com/mattecapu/typs.git"},"keywords":["types","type-checking","validation","tool"],"author":{"name":"Matteo Capucci","email":"mattecapu@live.it"},"license":"MIT","bugs":{"url":"https://github.com/mattecapu/typs/issues"},"homepage":"https://github.com/mattecapu/typs","devDependencies":{"grunt":"^0.4.5","grunt-contrib-watch":"^0.6.1","grunt-react":"^0.10.0"},"dependencies":{"bluebird":"^2.3.11"},"gitHead":"103e025764a2ceca9882fe83a44f468a2029e477","_id":"typs@0.2.7","_shasum":"bf42ac313889865528d112cfa2814530bf0f10d9","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"mattecapu","email":"mattecapu@live.it"},"maintainers":[{"name":"mattecapu","email":"mattecapu@live.it"}],"dist":{"shasum":"bf42ac313889865528d112cfa2814530bf0f10d9","tarball":"https://registry.npmjs.org/typs/-/typs-0.2.7.tgz","integrity":"sha512-Q+sgDYN99/g6Onm+rTOwH9b2ZOeP/8+kWc7y+hrCuHTx4bS29lNMu2vi1P6l1tGNnhqhXUQVuulYsoqLOHBBzQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDWXyZO8UxsapnOtRrIA/huA+Lgy5PWz2YnaYXVDUzplQIhAPH460AAS910lVkvEBx/yXdmeEzVJG1L6oZKLEpiY6/3"}]}},"0.2.8":{"name":"typs","version":"0.2.8","description":"An handy library for type validation in Javascript","main":"typs-transpiled.js","scripts":{"test":"node test-transpiled.js"},"repository":{"type":"git","url":"https://github.com/mattecapu/typs.git"},"keywords":["types","type-checking","validation","tool"],"author":{"name":"Matteo Capucci","email":"mattecapu@live.it"},"license":"MIT","bugs":{"url":"https://github.com/mattecapu/typs/issues"},"homepage":"https://github.com/mattecapu/typs","devDependencies":{"grunt":"^0.4.5","grunt-contrib-watch":"^0.6.1","grunt-react":"^0.10.0"},"dependencies":{"bluebird":"^2.3.11"},"gitHead":"665b294802d6adb48938f84e3746262dc268b26d","_id":"typs@0.2.8","_shasum":"8b91ebc3034288735e15c9c6f85afa47fc57eed0","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"mattecapu","email":"mattecapu@live.it"},"maintainers":[{"name":"mattecapu","email":"mattecapu@live.it"}],"dist":{"shasum":"8b91ebc3034288735e15c9c6f85afa47fc57eed0","tarball":"https://registry.npmjs.org/typs/-/typs-0.2.8.tgz","integrity":"sha512-mTT4vw/1TQQF9WthGUKbbkeM8r3Ckr7udkI31hOQRcyVL1syv5EU7VP0TGreIOdGvltZZ7hTTauyPJuo5SGe4A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDY5FZL+SXm4dT617bcUEBobt5Bpag8qu6/LPtAVmaqXgIgS5SXDTXTTn+CKb0mCWL7mB2sTcYwy4PFwJg8IAu/tDk="}]}},"0.2.9":{"name":"typs","version":"0.2.9","description":"An handy library for type validation in Javascript","main":"typs-transpiled.js","scripts":{"test":"node test-transpiled.js"},"repository":{"type":"git","url":"https://github.com/mattecapu/typs.git"},"keywords":["types","type-checking","validation","tool"],"author":{"name":"Matteo Capucci","email":"mattecapu@live.it"},"license":"MIT","bugs":{"url":"https://github.com/mattecapu/typs/issues"},"homepage":"https://github.com/mattecapu/typs","devDependencies":{"grunt":"^0.4.5","grunt-contrib-watch":"^0.6.1","grunt-react":"^0.10.0"},"dependencies":{"bluebird":"^2.3.11"},"gitHead":"d0e237fa22d87ca7b384fd9cfd6848e56d39849e","_id":"typs@0.2.9","_shasum":"904ecab1261418b170b42b4cf3f7c81db1322853","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"mattecapu","email":"mattecapu@live.it"},"maintainers":[{"name":"mattecapu","email":"mattecapu@live.it"}],"dist":{"shasum":"904ecab1261418b170b42b4cf3f7c81db1322853","tarball":"https://registry.npmjs.org/typs/-/typs-0.2.9.tgz","integrity":"sha512-xRKLg8m+AjyUL4ykbW7sfGibrNkGE1oEfHdudSYoh2Z+yHcjKEEf8VPCMmmShV9RA6Gn7Mt2soCb4FdLt4Q4zw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHpQi1VeC2nKR4aXddpg+rnWuzW/reVhygPQyP3/u39aAiA68yCIuxqwHInN2IS6BWo3S5WXPFdBULlCczXH7m8vdg=="}]}},"0.3.0":{"name":"typs","version":"0.3.0","description":"An handy library for type validation in Javascript","main":"typs-transpiled.js","scripts":{"test":"node test-transpiled.js"},"repository":{"type":"git","url":"https://github.com/mattecapu/typs.git"},"keywords":["types","type-checking","validation","tool"],"author":{"name":"Matteo Capucci","email":"mattecapu@live.it"},"license":"MIT","bugs":{"url":"https://github.com/mattecapu/typs/issues"},"homepage":"https://github.com/mattecapu/typs","devDependencies":{"grunt":"^0.4.5","grunt-contrib-watch":"^0.6.1","grunt-react":"^0.10.0"},"dependencies":{"bluebird":"^2.3.11"},"gitHead":"ffe36174cc06855b36d4b5a9b80790cdbb3a0778","_id":"typs@0.3.0","_shasum":"9262764ecd4b8339ba14a9db8f6bd335db56d4f0","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"mattecapu","email":"mattecapu@live.it"},"maintainers":[{"name":"mattecapu","email":"mattecapu@live.it"}],"dist":{"shasum":"9262764ecd4b8339ba14a9db8f6bd335db56d4f0","tarball":"https://registry.npmjs.org/typs/-/typs-0.3.0.tgz","integrity":"sha512-s/ttptgw0NrwY9m77vxO34VB0HWqSfrjX0lWnEuM8XGp0+nRYpVPkHDVXsoLn2SldNNvvcZxrGwIeiZ0DbOwSQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCHz+Ta5xD0agh3WgEtAIWh36nQ3pbqgnUI3OtF5YV41QIgNGa8d5cadjcsE4WdTdfTzabaJ40ewQIT4qTIxAXhAEs="}]}},"0.3.1":{"name":"typs","version":"0.3.1","description":"An handy library for type validation in Javascript","main":"typs-transpiled.js","scripts":{"test":"babel-node test.js","watch":"onchange typs.js test.js -- npm test","build":"babel typs.js > typs-transpiled.js"},"repository":{"type":"git","url":"https://github.com/mattecapu/typs.git"},"keywords":["types","type-checking","validation","tool"],"author":{"name":"Matteo Capucci","email":"mattecapu@live.it"},"license":"MIT","bugs":{"url":"https://github.com/mattecapu/typs/issues"},"homepage":"https://github.com/mattecapu/typs","devDependencies":{"babel":"latest","onchange":"^0.1.0"},"dependencies":{"bluebird":"^2.9.6"},"gitHead":"88910d694c3e254e9102e4a9034f91f256261388","_id":"typs@0.3.1","_shasum":"b2e42a3c3ba9ec518b43366d1a81d881c708a19d","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"mattecapu","email":"mattecapu@live.it"},"maintainers":[{"name":"mattecapu","email":"mattecapu@live.it"}],"dist":{"shasum":"b2e42a3c3ba9ec518b43366d1a81d881c708a19d","tarball":"https://registry.npmjs.org/typs/-/typs-0.3.1.tgz","integrity":"sha512-I//rjUoYS9ziwafYqHQ+AiouHZq2jKxQoswJptKS+r7GesZhJded5uo71IT3nsOhXi3dcuzTdM7seeA1oG5Fog==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA5+y7Bm+5qyE3oEk3z1pLoHSDYhISsDmGJYGa2ksQSdAiEAnbik9TWC5QY/EUd7xsaO9oNeLsbQTN2DfY+2hdzi23I="}]}},"0.3.2":{"name":"typs","version":"0.3.2","description":"An handy library for type validation in Javascript","main":"typs-transpiled.js","scripts":{"test":"babel-node test.js","watch":"onchange typs.js test.js -- npm test","build":"babel typs.js > typs-transpiled.js"},"repository":{"type":"git","url":"https://github.com/mattecapu/typs.git"},"keywords":["types","type-checking","validation","tool"],"author":{"name":"Matteo Capucci","email":"mattecapu@live.it"},"license":"MIT","bugs":{"url":"https://github.com/mattecapu/typs/issues"},"homepage":"https://github.com/mattecapu/typs","devDependencies":{"babel":"latest","onchange":"^0.1.0"},"dependencies":{"bluebird":"^2.9.6"},"gitHead":"46690b7af33e7975734a8d7e8cf5c359c5a4abd6","_id":"typs@0.3.2","_shasum":"3967fba2fa9a3553ea465469418a6492518335df","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"mattecapu","email":"mattecapu@live.it"},"maintainers":[{"name":"mattecapu","email":"mattecapu@live.it"}],"dist":{"shasum":"3967fba2fa9a3553ea465469418a6492518335df","tarball":"https://registry.npmjs.org/typs/-/typs-0.3.2.tgz","integrity":"sha512-N1mRXkkVvVsRIg0nxfCDz6ZLU5Qg0cIKTpoe5heE1wqv0Ss3S5CUP7KInT17E8nELuDKzQcpeI02DnCh1rTI9Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGe22Kre2M2JSEod2E3/DsQMfHJ/kfLQJIgmnLjkq+gUAiAxnZXUpZTsuRxnkzy61q1GqY+21PW8n1VEOWfrUvZN4A=="}]}},"0.3.5":{"name":"typs","version":"0.3.5","description":"An handy library for type validation in Javascript","main":"typs-transpiled.js","scripts":{"test":"babel-node test.js","watch":"onchange typs.js test.js -- npm test","build":"babel typs.js > typs-transpiled.js","deploy":"git tag \"v%npm_package_version%\" && npm run build && npm publish && git push --follow-tags"},"repository":{"type":"git","url":"https://github.com/mattecapu/typs.git"},"keywords":["types","type-checking","validation","tool"],"author":{"name":"Matteo Capucci","email":"mattecapu@live.it"},"license":"MIT","bugs":{"url":"https://github.com/mattecapu/typs/issues"},"homepage":"https://github.com/mattecapu/typs","devDependencies":{"babel":"latest","onchange":"^0.2.0"},"dependencies":{"bluebird":"^2.9.11"},"gitHead":"8c62078148e193e0db9afd72ebbd40f645d73ef0","_id":"typs@0.3.5","_shasum":"e7a27ecf0764e7e276a0215a5645d00615e8c35d","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"mattecapu","email":"mattecapu@live.it"},"maintainers":[{"name":"mattecapu","email":"mattecapu@live.it"}],"dist":{"shasum":"e7a27ecf0764e7e276a0215a5645d00615e8c35d","tarball":"https://registry.npmjs.org/typs/-/typs-0.3.5.tgz","integrity":"sha512-yEBD6sxp8t29aFrc852WPzUaTKepuppyvtLE9gsreVPUcoPq9qr3ZlgbyhLq8mu7U1ej3Cjmn2EsBQkIXrwZow==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC31azx4Ya4MuT7GpBzcTM7KeGVcln2c/TJUM6meUaRZQIgYSluGMEfVWbJFd8A/0aODVCnO8M9ceYNm1wd2OvhZp0="}]}},"0.3.6":{"name":"typs","version":"0.3.6","description":"An handy library for type validation in Javascript","main":"typs-transpiled.js","scripts":{"test":"babel-node test.js","watch":"onchange typs.js test.js -- npm test","build":"babel typs.js > typs-transpiled.js","deploy":"git tag \"v%npm_package_version%\" && npm run build && npm publish && git push --follow-tags"},"repository":{"type":"git","url":"https://github.com/mattecapu/typs.git"},"keywords":["types","type-checking","validation","tool"],"author":{"name":"Matteo Capucci","email":"mattecapu@live.it"},"license":"MIT","bugs":{"url":"https://github.com/mattecapu/typs/issues"},"homepage":"https://github.com/mattecapu/typs","devDependencies":{"babel":"latest","onchange":"^0.2.0"},"dependencies":{"bluebird":"^2.9.11"},"gitHead":"f4b4629d61fd25419097baea4db9e51659eb2e61","_id":"typs@0.3.6","_shasum":"55c793cb21d5244083bc0b653b3a63c544dbb132","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"mattecapu","email":"mattecapu@live.it"},"maintainers":[{"name":"mattecapu","email":"mattecapu@live.it"}],"dist":{"shasum":"55c793cb21d5244083bc0b653b3a63c544dbb132","tarball":"https://registry.npmjs.org/typs/-/typs-0.3.6.tgz","integrity":"sha512-Ej4jhpsmiX/6MIc1sWCV2ZHOZ1EtP6kU+376sBEc3lp/BQiekgMBwloZV8ENO3UO66IstabRFSbuo+wSIHyOOQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDFRHbs47G+FVwBgJ6q/eHIxbUaAJzU8n3nSORwjSItmAiEAzH/fi2P+7KuB8cl/LE+Rz81W4Ezqlib5SlZJFV/Nuhs="}]}},"0.3.7":{"name":"typs","version":"0.3.7","description":"An handy library for type validation in Javascript","main":"typs-transpiled.js","scripts":{"test":"babel-node test.js","watch":"onchange typs.js test.js -- npm test","build":"babel typs.js > typs-transpiled.js","deploy":"git tag \"v%npm_package_version%\" && npm run build && npm publish && git push --follow-tags"},"repository":{"type":"git","url":"https://github.com/mattecapu/typs.git"},"keywords":["types","type-checking","validation","tool"],"author":{"name":"Matteo Capucci","email":"mattecapu@live.it"},"license":"MIT","bugs":{"url":"https://github.com/mattecapu/typs/issues"},"homepage":"https://github.com/mattecapu/typs","devDependencies":{"babel":"latest","onchange":"^0.2.0"},"dependencies":{"bluebird":"^2.9.11"},"gitHead":"2d10296b846c15ee68ce88de7dc24cf31d5dffa0","_id":"typs@0.3.7","_shasum":"089adba022a10e0ce47e0611c5bcbd0d04564312","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"mattecapu","email":"mattecapu@live.it"},"maintainers":[{"name":"mattecapu","email":"mattecapu@live.it"}],"dist":{"shasum":"089adba022a10e0ce47e0611c5bcbd0d04564312","tarball":"https://registry.npmjs.org/typs/-/typs-0.3.7.tgz","integrity":"sha512-Fa6zFA9/AnadiwGQCf1Za6p8tzUX7rAkGYzHOfKmPHDCHbJDpnGuUNy1oSxInkI0iT4pDlzJ+WX3HUG7mMskSQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH1vRve+XK7dVNfEaOpv5uyTDCUdIZ4eOaS0TCFcpij7AiEA+tHG6GVbmanCIggUItTzq7x8ctIltRX0vMrPii5zEZM="}]}},"0.3.8":{"name":"typs","version":"0.3.8","description":"An handy library for type validation in Javascript","author":{"name":"Matteo Capucci","email":"mattecapu@live.it"},"main":"index.js","scripts":{"test":"babel-node test.js","watch":"chokidar typs.js test.js -c 'npm test'","build":"babel typs.js > index.js","preversion":"npm test","version":"npm run build && git add . --all","postversion":"git push --follow-tags"},"devDependencies":{"babel-cli":"^6.6.5","babel-plugin-add-module-exports":"^0.1.2","babel-preset-es2015":"^6.6.0","chokidar":"^1.4.3"},"dependencies":{"bluebird":"^3.3.4","deep-equal":"^1.0.1"},"homepage":"https://github.com/mattecapu/typs","repository":{"type":"git","url":"git+https://github.com/mattecapu/typs.git"},"bugs":{"url":"https://github.com/mattecapu/typs/issues"},"keywords":["types","type-checking","validation","tool"],"license":"MIT","gitHead":"05340267468033953b7a1a3a964efbab7ecfc228","_id":"typs@0.3.8","_shasum":"e449a9c09b00c68a5b4c173d3a17d73d95b29cc7","_from":".","_npmVersion":"3.8.3","_nodeVersion":"4.4.1","_npmUser":{"name":"mattecapu","email":"mattecapu@live.it"},"dist":{"shasum":"e449a9c09b00c68a5b4c173d3a17d73d95b29cc7","tarball":"https://registry.npmjs.org/typs/-/typs-0.3.8.tgz","integrity":"sha512-7M+aEVuYPNZeJaLV+bpDPl1mbrIqgy3CvDV/bcCLQiwvmkQolw5cpTYzUy0VI2hWUwisVuRxcokpAtyrCjRg4Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCaGCBmc56PgidKs9AI2aAUgXs+Za04Tpzi6L+VqpGirQIhAJSn+YVwWnZRJg2LXUlYivQ/Rh2WqYkyfZtloFmpkqrh"}]},"maintainers":[{"name":"mattecapu","email":"mattecapu@live.it"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/typs-0.3.8.tgz_1459245270725_0.5020965763833374"}},"0.4.0":{"name":"typs","version":"0.4.0","description":"An handy library for type validation in Javascript","author":{"name":"Matteo Capucci","email":"mattecapu@live.it"},"main":"index.js","scripts":{"test":"npm run build && babel-node test.js","watch":"chokidar typs.js test.js -c 'npm test'","build":"babel typs.js > index.js","build:docs":"documentation build typs.js -f md > DOCS.md","preversion":"npm test","version":"git add . --all","postversion":"git push --follow-tags"},"devDependencies":{"babel-cli":"^6.6.5","babel-plugin-add-module-exports":"^0.1.2","babel-preset-es2015":"^6.6.0","chokidar":"^1.4.3","documentation":"^4.0.0-beta2"},"dependencies":{"bluebird":"^3.3.4","deep-equal":"^1.0.1"},"homepage":"https://github.com/mattecapu/typs","repository":{"type":"git","url":"git+https://github.com/mattecapu/typs.git"},"bugs":{"url":"https://github.com/mattecapu/typs/issues"},"keywords":["types","type-checking","validation","tool"],"license":"MIT","gitHead":"7ee868e3c9f021d8f83d3b9388bab6f8e27f2e61","_id":"typs@0.4.0","_shasum":"15e1c8d5845719cea1f8afbd177c545ef3d5bddb","_from":".","_npmVersion":"3.8.3","_nodeVersion":"4.4.1","_npmUser":{"name":"mattecapu","email":"mattecapu@live.it"},"dist":{"shasum":"15e1c8d5845719cea1f8afbd177c545ef3d5bddb","tarball":"https://registry.npmjs.org/typs/-/typs-0.4.0.tgz","integrity":"sha512-AmljPv41QVXAw4ndmbLsJTz3M3zlFip5WsRLgHuhZgbi1WvRqO+mowUuX2Wgd3vxL3diz0FCGjMOB8h49O2Ipw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFs+oMJmSJMHN+0AJWGckRq8xjQuutCWHUfKjlgFmVJ6AiEA/zrMzRPaLKvttsub1/q15poKVbPRjOzlCfIj643KOqA="}]},"maintainers":[{"name":"mattecapu","email":"mattecapu@live.it"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/typs-0.4.0.tgz_1459256560145_0.024809872033074498"}},"2.0.0":{"name":"typs","version":"2.0.0","description":"An handy library for type validation in Javascript","author":{"name":"Matteo Capucci","email":"mattecapu@live.it"},"main":"index.js","scripts":{"test":"babel-node test.js","watch":"chokidar typs.js test.js -c 'npm test'","build":"babel typs.js > index.js","preversion":"npm run build && npm test","version":"git add . --all","postversion":"git push --follow-tags"},"devDependencies":{"babel-cli":"6.11.4","babel-plugin-add-module-exports":"0.2.1","babel-preset-es2015":"6.13.2","chokidar-cli":"1.2.0"},"dependencies":{"bluebird":"3.4.1","deep-equal":"1.0.1"},"homepage":"https://github.com/mattecapu/typs","repository":{"type":"git","url":"git+https://github.com/mattecapu/typs.git"},"bugs":{"url":"https://github.com/mattecapu/typs/issues"},"keywords":["types","type-checking","validation","tool"],"license":"MIT","gitHead":"82a9730ec7e2344251efa6522bbb1ce1ba0882b8","_id":"typs@2.0.0","_shasum":"3de5372bb2d8f5adc602622a723203c2a1c5892f","_from":".","_npmVersion":"3.10.2","_nodeVersion":"6.2.2","_npmUser":{"name":"mattecapu","email":"mattecapu@live.it"},"dist":{"shasum":"3de5372bb2d8f5adc602622a723203c2a1c5892f","tarball":"https://registry.npmjs.org/typs/-/typs-2.0.0.tgz","integrity":"sha512-CXk5HofWnQni1poPtTHG48Z/0dgg8jthkn8mN1474tsNZEmlZtIaeoOAg+crcG0N5XnEaUUJyzpGJxFhl4NUfA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCpKrV0B7tn4xjoMTZDIEKWUYLYvCC3G6zrlovLxRV/6AIhAO4PSJriBWQVV3xpM94TFq/t8PFDJWjSjBSaLf3m3RxD"}]},"maintainers":[{"name":"mattecapu","email":"mattecapu@live.it"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/typs-2.0.0.tgz_1471082559311_0.3138336839620024"}},"3.0.0":{"name":"typs","version":"3.0.0","description":"An handy library for type validation in Javascript","author":{"name":"Matteo Capucci","email":"mattecapu@live.it"},"main":"index.js","jsnext:main":"typs.js","engines":{"node":">=0.12.15"},"scripts":{"test":"babel-node test.js","watch":"chokidar typs.js test.js -c 'npm test'","build":"babel typs.js > index.js","preversion":"npm run build && npm test","version":"git add . --all","postversion":"git push --follow-tags"},"devDependencies":{"babel-cli":"6.11.4","babel-plugin-add-module-exports":"0.2.1","babel-preset-es2015":"6.13.2","chokidar-cli":"1.2.0"},"dependencies":{"deep-equal":"1.0.1"},"homepage":"https://github.com/mattecapu/typs","repository":{"type":"git","url":"git+https://github.com/mattecapu/typs.git"},"bugs":{"url":"https://github.com/mattecapu/typs/issues"},"keywords":["types","type-checking","validation","tool"],"license":"MIT","gitHead":"005f5066553ad70eeddb2a0beae11afd88184fa0","_id":"typs@3.0.0","_shasum":"3e5a88c8ce466962246bcec8968ef5c15bf9e50e","_from":".","_npmVersion":"3.10.6","_nodeVersion":"5.12.0","_npmUser":{"name":"mattecapu","email":"mattecapu@live.it"},"dist":{"shasum":"3e5a88c8ce466962246bcec8968ef5c15bf9e50e","tarball":"https://registry.npmjs.org/typs/-/typs-3.0.0.tgz","integrity":"sha512-9+UmYXhiNKrZ1TnuH3R+CGCTxtfOJQZCRtzMftGXY3s8YdPg1QWPvwj48/CVALW1hVTavMB2JjPz6/AWUpFI7w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDjFGML8lSaVFWB/4Ika7mqa0lqihbEG96RgoThv0v2MgIgaS8thooz8FnatK+RXt2DHaYOyvbI23+J9xoGXjSUBBk="}]},"maintainers":[{"name":"mattecapu","email":"mattecapu@live.it"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/typs-3.0.0.tgz_1473142906548_0.5014120270498097"}}},"readme":"# typs\n\nAn handy library for type validation in Javascript\n\nJust\n\n```\nnpm install typs --save\n```\n\nit.\n\nThe library is still widely open to changes, so feel free to propose new features or open an issue.\n\n## What can I use it for?\n\n### Param checking\n\nWrite a sound REST API or provide strong code constraints validating your parameters\n\n```js\napp.get('/api/v1/users/:user_id', (req) => {\n\tvar user_id = req.params.user_id;\n\tif(typs(user_id).integer().positive().notZero()) {\n\t\tthrow new Error('user_id is not a valid identifier');\n\t}\n\t// ...\n});\n```\n\n### Input validation\n\nLet typs handle your validation logic in an easy and semantic way\n\n```js\nconst usernameType = typs().string().notEmpty().len({min: 5, max: 15});\nconst uniqueUsernameType = usernameType.satisifies((username) =>\n\t// yes, typs supports promises!\n\tquery('SELECT * FROM users WHERE username = ?', username)\n\t\t.then((rows) => rows.length < 1);\n);\nconst passwordType = typs().string().notEmpty().len({min: 8, max: 25});\nconst emailType = typs().string().notEmpty().regex(/* ...a long mail regex... */);\n\nfunction add_user(username, password, email) {\n\tif(typs(username).isnt(usernameType)) {\n\t\tthrow new Error('the username you provided is not a valid username')\n\t}\n\tif(typs(password).isnt(passwordType)) {\n\t\tthrow new Error('the password you provided is not valid');\n\t}\n\tif(typs(email).isnt(emailType)) {\n\t\tthrow new Error('the e-mail you provided is not valid');\n\t}\n\n\ttyps(username).isnt(uniqueUsernameType).then((pass) => {\n\t\tif (!pass) throw new Error('this username already exists, please pick another');\n\t\t// ...\n\t});\n}\n```\n\n## License\n\nTyps comes with a good, ol' [MIT license](https://github.com/mattecapu/typs/blob/master/LICENSE).\n","maintainers":[{"name":"mattecapu","email":"mattecapu@live.it"}],"time":{"modified":"2022-06-28T02:20:13.134Z","created":"2014-11-12T21:51:24.104Z","0.1.0":"2014-11-12T21:51:24.104Z","0.2.1":"2014-11-13T17:48:23.270Z","0.2.2":"2014-11-13T18:10:54.732Z","0.2.3":"2014-11-13T18:27:07.721Z","0.2.4":"2014-11-13T18:51:03.515Z","0.2.5":"2014-11-18T15:00:45.368Z","0.2.6":"2014-11-23T12:11:43.496Z","0.2.7":"2014-11-24T12:24:33.276Z","0.2.8":"2014-12-01T15:44:21.489Z","0.2.9":"2014-12-10T18:52:26.625Z","0.3.0":"2014-12-13T12:44:58.809Z","0.3.1":"2015-02-17T20:46:02.248Z","0.3.2":"2015-02-19T07:21:02.110Z","0.3.3":"2015-02-19T15:41:25.717Z","0.3.4":"2015-02-19T15:59:32.248Z","0.3.5":"2015-02-19T16:05:37.409Z","0.3.6":"2015-02-20T15:13:21.999Z","0.3.7":"2015-02-22T13:03:00.716Z","0.3.8":"2016-03-29T09:54:31.675Z","0.4.0":"2016-03-29T13:02:42.653Z","2.0.0":"2016-08-13T10:02:41.027Z","3.0.0":"2016-09-06T06:21:48.538Z"},"homepage":"https://github.com/mattecapu/typs","keywords":["types","type-checking","validation","tool"],"repository":{"type":"git","url":"git+https://github.com/mattecapu/typs.git"},"author":{"name":"Matteo Capucci","email":"mattecapu@live.it"},"bugs":{"url":"https://github.com/mattecapu/typs/issues"},"license":"MIT","readmeFilename":"README.md"}