snoowrap

v1.18.0
A JavaScript wrapper for the reddit API
reddit api wrapper praw snoo

prepublishOnly

npm run compile

compile

babel -q -d dist/ src/

lint

eslint --ignore-path .gitignore . --cache

test

npm run lint && npm run test:mocha

test:mocha

npm run compile && mocha --compilers js:babel-core/register test/snoowrap.spec.js

test:browser

npm run compile && browserify --im test/snoowrap.spec.js -o test/_browser.spec.js -t [ babelify ] && open test/run-tests.html

smoketest

npm run test -- -g 'smoketest'

build-docs

scripts/build_docs.sh

bundle-size

npm run build-docs && gzip -c doc/snoowrap-v$(npm info . version).min.js | wc -c | xargs

coverage

istanbul cover _mocha -- --compilers js:babel-core/register test/snoowrap.spec.js

Metadata

  • MIT
  • >=4.0.0
  • not-an-aardvark
  • released 7/23/2019

Downloads

Maintainers