variant-type
Version:
A Variant is a data structure that can be used to represent any other data type.
50 lines (49 loc) • 1.18 kB
JSON
{
"name": "variant-type",
"version": "0.1.4",
"description": "A Variant is a data structure that can be used to represent any other data type.",
"main": "dist/variant-type.js",
"module": "dist/variant-type.m.js",
"source": "src/variant-type.js",
"scripts": {
"prebuild": "prettier --write src/ test/",
"build": "microbundle --no-compress",
"prepublishOnly": "npm run build",
"pretest": "npm run build",
"test": "tape test/*.js | faucet"
},
"files": [
"dist",
"src",
"create-variant-reducer.js"
],
"keywords": [
"variant",
"pattern-matching",
"type",
"tagged",
"union",
"choice",
"sum"
],
"author": "Adrian Unger",
"license": "ISC",
"bugs": {
"url": "https://github.com/staydecent/variant-type/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/staydecent/variant-type.git"
},
"homepage": "https://github.com/staydecent/variant-type#readme",
"devDependencies": {
"atom": "1.4.1",
"faucet": "0.0.4",
"microbundle": "0.15.1",
"prettier": "3.0.3",
"tape": "5.6.6"
},
"dependencies": {
"check-arg-types": "2.0.1"
}
}