{
  "name": "javascript-files-writefile",
  "version": "1.0.0",
  "description": "upload a file",
  "language": "javascript",
  "source": "module['exports'] = function writeFile (hook) {\n  hook.fs.writeFile('testing-file.txt', 'hello', function (err, file) {\n    if (err){ \n      return hook.res.end(err.message);\n    }\n    hook.res.json(file);\n  });\n};",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1",
    "start": "microcule ."
  },
  "dependencies": {
    "microcule": "*"
  },
  "author": "examples",
  "license": "MIT"
}