UNPKG

tensor-as-base64

Version:
51 lines (49 loc) 1.34 kB
{ "name": "tensor-as-base64", "main": "dist/index.js", "types": "dist/index.d.ts", "version": "0.3.0", "keywords": [ "tensorflow.js" ], "description": "Turns a tensor into a base64 src for an image", "scripts": { "prepare": "yarn build", "prepublishOnly": "yarn test && yarn lint", "preversion": "yarn lint", "build": "rimraf dist && tsc --skipLibCheck", "watch": "rimraf dist && tsc --watch --skipLibCheck", "format": "prettier --write \"src/**/*.ts\"", "lint": "tslint -p tsconfig.json", "test": "jest --config jestconfig.json" }, "repository": { "type": "git", "url": "git+https://github.com/thekevinscott/tensor-as-base64.git" }, "license": "MIT", "bugs": { "url": "https://github.com/thekevinscott/tensor-as-base64/issues" }, "homepage": "https://github.com/thekevinscott/tensor-as-base64#readme", "peerDependencies": { "@tensorflow/tfjs": "^3.18.0" }, "files": [ "dist/**/*", "models/**/*" ], "author": "Kevin Scott", "devDependencies": { "@tensorflow/tfjs": "^3.13.0", "@types/jest": "^26.0.7", "jest": "^26.1.0", "jest-canvas-mock": "^2.2.0", "prettier": "^2.0.5", "rimraf": "^3.0.2", "ts-jest": "^26.1.4", "tslint": "^6.1.2", "tslint-config-prettier": "^1.18.0", "typescript": "^3.9.7" } }