UNPKG

pageviews

Version:

A lightweight JavaScript client library for the Wikimedia Pageviews API for Wikipedia and various of its sister projects for Node.js and the browser.

42 lines (41 loc) 1.26 kB
{ "name": "pageviews", "version": "1.5.0", "description": "A lightweight JavaScript client library for the Wikimedia Pageviews API for Wikipedia and various of its sister projects for Node.js and the browser.", "main": "pageviews.js", "scripts": { "test": "mocha", "lint": "npx jshint pageviews.js test/pageviewsTest.js && npx jscs --preset=google pageviews.js test/pageviewsTest.js", "build": "npx uglifyjs pageviews.js --compress sequences,properties,dead_code,conditionals,comparisons,evaluate,booleans,loops,unused,if_return,join_vars --mangle --comments --output pageviews.min.js" }, "repository": { "type": "git", "url": "https://github.com/tomayac/pageviews.js.git" }, "keywords": [ "pageview", "pageviews", "wikipedia", "wikimedia", "api" ], "author": "Thomas Steiner <steiner.thomas@gmail.com> (http://blog.tomayac.com/)", "bugs": { "url": "https://github.com/tomayac/pageviews.js/issues" }, "license": "Apache-2.0", "dependencies": { "request": "^2.88.0" }, "devDependencies": { "chai": "^4.2.0", "jscs": "^3.0.7", "jshint": "^2.12.0", "mocha": "^8.2.1", "uglify-js": "^3.12.4" }, "engines": { "node": ">=4.8.x", "npm": ">=2.15.x" } }