@jayyuen1/js-interface
Version:
A tiny library that helps us achieve a certain level of type safety around interfaces (via duck typing). This library also helps us keep JavaScript objects synchronized with any interface definitions that they explicitly implement.
44 lines (43 loc) • 1.06 kB
JSON
{
"name": "@jayyuen1/js-interface",
"version": "0.0.2",
"description": "A tiny library that helps us achieve a certain level of type safety around interfaces (via duck typing). This library also helps us keep JavaScript objects synchronized with any interface definitions that they explicitly implement.",
"main": "js_interface.js",
"scripts": {
"test": "mocha --reporter spec"
},
"repository": {
"type": "git",
"url": "git+https://github.com/jayyuen1/js-interface.git"
},
"keywords": [
"interface",
"interfaces",
"trait",
"traits",
"inheritance",
"oop",
"synchronization",
"enforcement",
"duck",
"typing",
"type",
"safety"
],
"author": "jayyuen1",
"license": "MIT",
"bugs": {
"url": "https://github.com/jayyuen1/js-interface/issues"
},
"homepage": "https://github.com/jayyuen1/js-interface#readme",
"engines": {
"node": ">=4.2.6"
},
"devDependencies": {
"chai": "^3.5.0",
"mocha": "^2.5.3"
},
"dependencies": {
"underscore": "^1.8.3"
}
}