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 🙏

© 2026 – Pkg Stats / Ryan Hefner

angelabilities

v0.0.3

Published

A collection of angel abilities.

Readme

angelabilities

A collection of angel abilities.

io

When used angel.output and angel.input will be references to process.stdout and process.stdin

angel.log(string, ...)

Does a fancy console.log using angel.cmdData embeded

  • string: pattern with {placeholder} support using angel.cmdData as source

shell

Helper methods wrapper of shellreactions-exec. All commands support {placeholder} replacement which uses for data angel.cmdData

angel.exec(commands [, next])

  • commands : String or Array of commands.
  • next : optional function(err, result), if not present an reaction function(angel, next) will be returned.
angel.cmdData.value = "test"

// with next
angel.exec("echo {value}", function(err, result){
  // result == "test"
})

// without next
var fn = angel.exec("echo {value}")
fn(angel, function(err, result){
  // result == "test"
})

angel.ssh(remote, commands [, next])

  • remote : String. Its value will be used to get the corresponding angel.cmdData[remote] value for ssh connection be made
  • commands : String or Array of commands.
  • next : optional function(err, result), if not present an reaction function(angel, next) will be returned.
angel.cmdData.value = "test"
angel.cmdData.remoteA = "production"
angel.cmdData.remoteB = "production2"

// with next
angel.ssh("remoteA", "echo {value}", function(err, result){
  // result == "test"
})

// without next
var fn = angel.ssh("remoteB", "echo {value}")
fn(angel, function(err, result){
  // result == "test"
})

reactions

Helper methods wrapper of reactions.

angel.series(fnArray [, next])

  • fnArray : Array of function(angel, next) to be executed in series
  • next : optional, function(err, result), if not present an reaction function(angel, next) will be returned. Note that result will be an Array all fnArray results.
var reaction = [
  function(angel, next) {
    next(null, "test")
  },
  function(angel, next) {
    next(null, "test2")
  }
]

// with next
angel.series(reaction, function(err, result){
  // result[0] == "test", result[1] == "test2"
})

// without next
var fn = angel.series(reaction)
fn(angel, function(err, result){
  // result[0] == "test", result[1] == "test2"
})

angel.series.wrap(fn, args... )

  • fn : any function having callback as last argument
  • args : arguments to be passed to fn

angel.series([ angel.series.wrap(fs.exists, angel.cmdData.value), ... ])

Filesystem

angel.fs.cp(src, dest, ignoreList)

Returns reaction function(angel, next) wrapped arguments and impl.

  • src : String, name of the cmdData property to be used for source
  • dest : String, name of the cmdaData property to be used for destination
  • ignoreList : [ String, matched agains every file ]

angel.fs.chdir(path)

Returns reaction function(angel, next) wrapped arguments and impl.

  • path: String, name of the cmdData property to be used for current directory path

angel.fs.tempfolder()

Returns temporary folder path.

Format

angel.format(value)

Returns String where any {placeholder} are replaced using angel.cmdData as source

Thanks to

reactions

https://github.com/vbogdanov/reactions

underscore

http://underscorejs.org

shellreactions-exec

https://github.com/outbounder/shellreactions-exec

organic-angel

https://github.com/outbounder/organic-angel

jasmine-node

https://github.com/mhevery/jasmine-node

ncp

https://github.com/AvianFlu/ncp

temporary

http://github.com/vesln/temporary