node package manager
Loosely couple your services. Use Orgs to version and reuse your code. Create a free org »

datsign

datsign

Sign buffers using a dats private key. Intended for low level testing, doesn't have a super practical use case.

See also: http://github.com/maxogden/dat

JS

var datsign = require('datsign')
var buf = 'hello'
var opts = {}
var cb = function (err, signature) {
  if (err) throw err
  console.log(signature)
}
 
datsign(buf, opts, cb)

CLI

npm i datsign -g
datsign 'hello'