publish to npm with a single http request

npm install npm-atomic-publish
10 downloads in the last week
18 downloads in the last month
var fs = require('fs')

module.exports = function readme (pkgdir, cb) {
  fs.readdir(pkgdir, function (err, files) {
    var rfile = files.filter(function (file) {
      return /^readme(\.(md|markdown|txt))?$/i.test(file)
    if (!rfile) cb()
    else fs.readFile(rfile, 'utf8', function (err, src) {
      cb(err, src, rfile)

npm loves you