npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

karma-verbose-reporter

v0.0.8

Published

A Karma reporter bringing verbosity to the max.

Downloads

91,377

Readme

Karma (very) Verbose Reporter

To install, just get the tarball from GitHub via NPM:

npm install --save-dev karma-verbose-reporter

This reporter logs everything emitted during the test phase:

...
INFO [Safari 8.0.0 (Mac OS X 10.10) | hash, SHA-256 | should hash empty data]: Success: 4 ms
INFO [Safari 8.0.0 (Mac OS X 10.10) | hash, SHA-256 | should hash a well-known string]: Success: 9 ms
INFO [Firefox 33.0.0 (Mac OS X 10.10) | decode, UTF8 | decode]: Success: 9 ms
INFO [Safari 8.0.0 (Mac OS X 10.10) | hash, SHA-256 | should hash 10k of binary data]: Success: 13 ms
INFO [Firefox 33.0.0 (Mac OS X 10.10) | decode, HEX | decode lower case]: Success: 10 ms
INFO [PhantomJS 1.9.7 (Mac OS X) | defer | should reject a wrapped rejected promise]: Success: 35 ms
INFO [Safari 8.0.0 (Mac OS X 10.10) | hash, SHA-384 | should hash empty data]: Success: 3 ms
INFO [Safari 8.0.0 (Mac OS X 10.10) | hash, SHA-384 | should hash a well-known string]: Success: 7 ms
INFO [Firefox 33.0.0 (Mac OS X 10.10) | decode, HEX | decode upper case]: Success: 11 ms
...

Reports are also quite detailed:

Suites and tests results:

 - decode :
   * should exist : 4 ok
   * should fail decoding garbage : 4 ok
   * should fail decoding null data : 4 ok
   * should fail decoding with unknown algorithm : 4 ok
   * should handle nested promises : 4 ok
   - BASE64 :
     * decode : 4 ok
   - HEX :
     * decode lower case : 4 ok
     * decode upper case : 4 ok
   - UTF8 :
     * decode : 4 ok
 - defer :
   * should defer a static value : 4 ok
   * should exist : 4 ok
   * should reject a thrown error : 4 ok
   * should reject a thrown string : 4 ok
   * should reject a wrapped rejected promise : 4 ok
   * should resolve a deferred function : 4 ok
   * should resolve a wrapped resolved promise : 4 ok
 - encode :
   * should exist : 4 ok
   * should fail encoding garbage : 4 ok
   * should fail encoding null data : 4 ok
   * should fail encoding with unknown algorithm : 4 ok
   * should handle nested promises : 4 ok
   - BASE64 :
     * encode : 4 ok
   - HEX :
     * encode : 4 ok
   - UTF8 :
     * encode Uint8Array : 4 ok
     * encode plain array : 4 ok
     * encode string (pass-through) : 4 ok
 - hash :
   * should exist : 4 ok
   - SHA-1 :
     * should hash 10k of binary data : 4 ok
     * should hash a well-known string : 4 ok
     * should hash empty data : 4 ok
   - SHA-224 :
     * should hash 10k of binary data : 4 ok
     * should hash a well-known string : 4 ok
     * should hash empty data : 4 ok
   - SHA-256 :
     * should hash 10k of binary data : 4 ok
     * should hash a well-known string : 4 ok
     * should hash empty data : 4 ok
   - SHA-384 :
     * should hash 10k of binary data : 4 ok
     * should hash a well-known string : 4 ok
     * should hash empty data : 4 ok
   - SHA-512 :
     * should hash 10k of binary data : 4 ok
     * should hash a well-known string : 4 ok
     * should hash empty data : 4 ok
 - subtle :
   * should digest : 2 ok, 2 skipped
   * should exist : 4 ok

Browser results:

 - Safari 8.0.0 (Mac OS X 10.10): 44 tests
   - 44 ok
 - Chrome 39.0.2171 (Mac OS X 10.10.0): 44 tests
   - 44 ok
 - PhantomJS 1.9.7 (Mac OS X): 44 tests
   - 43 ok, 1 skipped
 - Firefox 33.0.0 (Mac OS X 10.10): 44 tests
   - 43 ok, 1 skipped