mm-client
v0.1.8
Published
A minimogrify client for node
Downloads
6
Readme
node-mm-client
A minimogrify client for node
Usage
mm.applyParam Get the value for the given key.
key
: String, the security keymmRoot
: String, the minimogrify root without the '--mm-/' prefixurl
: String, the image urlactionCode
: String, the action code ['c', 'r', 'ttl']actionValue
: String, the action value for the code
var mm = require('mm-client');
console.log(mm.applyParam(
securityKey,
'http://media.example.com/',
'http://media.example.com/media/foo.jpg',
'r', '200'))