UNPKG

scrape-meta

Version:

A library to easily scrape metadata from an article on the web using Open Graph metadata, regular HTML metadata, and series of fallbacks.

89 lines (88 loc) 2.27 kB
{ "name": "scrape-meta", "description": "A library to easily scrape metadata from an article on the web using Open Graph metadata, regular HTML metadata, and series of fallbacks.", "version": "0.1.4", "repository": "git://github.com/treyhuffine/scrape-meta.git", "license": "MIT", "main": "./dist/index.js", "scripts": { "build": "npm-run-all build:dist build:tests", "build:tests": "browserify ./test/browser.js --transform babelify --outfile ./test/support/build.js", "build:dist": "babel ./lib --out-dir ./dist", "clean": "rm -rf ./dist ./node_modules ./test/support/build.js", "compare": "node ./support/comparison", "prepare": "npm run build:dist", "release": "np", "test": "npm-run-all build tests:server tests:browser", "tests:browser": "mocha-phantomjs --reporter spec --timeout 5000 ./test/support/browser.html", "tests:server": "mocha --reporter spec --timeout 5000 ./test/server" }, "dependencies": { "cheerio": "^0.20.0", "chrono-node": "^1.2.3", "is-isodate": "0.0.1", "is-url": "^1.2.1", "popsicle": "^6.2.0", "to-title-case": "^1.0.0" }, "devDependencies": { "babel-cli": "^6.9.0", "babel-core": "^6.9.0", "babel-polyfill": "^6.9.0", "babel-preset-es2015": "^6.9.0", "babel-preset-stage-0": "^6.5.0", "babelify": "^7.3.0", "browserify": "^13.0.1", "html-metadata": "^1.4.1", "metaphor": "^2.1.0", "mkdirp": "^0.5.1", "mocha": "^2.5.2", "mocha-phantomjs": "^4.0.2", "node-metainspector": "^1.3.0", "np": "^2.9.0", "npm-run-all": "^2.3.0", "open-graph-scraper": "^2.1.0", "rimraf": "^2.5.2", "source-map-support": "^0.4.0", "unfluff": "^1.0.0" }, "keywords": [ "article", "browser", "cheerio", "content", "expand", "extract", "facebook", "fallback", "fetch", "get", "graph", "html", "meta", "metadata", "microformat", "micro format", "og", "open", "opengraph", "open graph", "page", "parse", "parser", "scrape", "scraper", "server", "site", "summarize", "summary", "tag", "tags", "twitter", "unfluff", "unfurl", "url", "web", "website" ] }