bolt icon indicating copy to clipboard operation
bolt copied to clipboard

Feature request: Use bolt as a library

Open piuccio opened this issue 8 years ago • 1 comments

The only way to use this package is from the command line firebase-bolt file-on-disk.bolt

It would be great to be able to run it as a node module

const bolt = require('firebase-bolt');

const rules = bolt(`
# Bolt rules here
`);

piuccio avatar Sep 04 '17 05:09 piuccio

Should able to make this easy by adding an index.js file in the root that exposes the generator functionality.

rockwotj avatar Oct 21 '17 22:10 rockwotj