guessit-js
Version:
GuessIt JS (WASM) - Extract metadata from video filenames with WebAssembly performance
79 lines (78 loc) • 2.4 kB
JSON
{
"name": "guessit-js",
"version": "1.0.1",
"description": "GuessIt JS (WASM) - Extract metadata from video filenames with WebAssembly performance",
"main": "dist/guessit.js",
"module": "src/index.js",
"type": "module",
"scripts": {
"build": "webpack --config build/webpack.config.js --mode=production",
"build:dev": "webpack --config build/webpack.config.js --mode=development",
"build:simple": "node build/build-simple.js",
"build:wasm": "mkdir -p dist && emcc -O3 -s WASM=1 -s MODULARIZE=1 -s EXPORT_NAME=GuessItWasm -s EXPORTED_FUNCTIONS='[\"_guessit\",\"_version\",\"_init\",\"_malloc\",\"_free\"]' -s EXPORTED_RUNTIME_METHODS='[\"ccall\",\"cwrap\"]' src/wasm/guessit.c -o dist/guessit-wasm.js",
"test": "node tests/test-runner.js",
"test:simple": "node tests/test-simple.js",
"test:all": "npm test",
"demo": "node examples/demo.js",
"demo:full": "node examples/demo.js",
"demo:wasm": "node examples/wasm-demo.js",
"demo:browser": "echo 'Open examples/browser-demo.html in your browser'",
"demo:wasm-performance": "echo 'Open examples/wasm-performance-demo.html in your browser'",
"dev": "webpack serve --config build/webpack.config.js --mode=development",
"lint": "eslint src/",
"start": "node examples/cli.js",
"benchmark": "node examples/benchmark.js"
},
"bin": {
"guessit-js": "examples/cli.js"
},
"keywords": [
"video",
"filename",
"parser",
"metadata",
"movie",
"tv",
"episode",
"wasm",
"webassembly",
"guessit",
"media",
"extraction",
"parsing",
"javascript"
],
"author": "OpenSubtitles Team",
"license": "LGPL-3.0",
"repository": {
"type": "git",
"url": "git+https://github.com/opensubtitles/guessit-js.git"
},
"bugs": {
"url": "https://github.com/opensubtitles/guessit-js/issues"
},
"homepage": "https://github.com/opensubtitles/guessit-js#readme",
"devDependencies": {
"@babel/core": "^7.23.0",
"@babel/preset-env": "^7.23.0",
"babel-loader": "^9.1.0",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.0",
"webpack-dev-server": "^4.15.0",
"jest": "^29.7.0",
"eslint": "^8.54.0"
},
"files": [
"dist/",
"src/",
"examples/",
"build/",
"tests/test-runner.js",
"tests/test-simple.js",
"README.md",
"LICENSE"
],
"engines": {
"node": ">=14.0.0"
}
}