jobot-brain-file

Hubot utility that save the brain on the filesystem

Usage no npm install needed!

<script type="module">
  import jobotBrainFile from 'https://cdn.skypack.dev/jobot-brain-file';
</script>

README

Jobot-brain-file

Hubot utility that save the brain on the filesystem

See src/hubot-brain-file.coffee for full documentation.

Installation

In hubot project repo, run:

npm install jobot-brain-file --save

Then add jobot-brain-file to your external-scripts.json:

["jobot-brain-file"]

The script

It will save the brain on the file system. it uses FILE_BRAIN_PATH as path otherwise the curent working directory. The JSON is indented with 4 spaces.