npm install pbudget -g
Latest library version is 0.2.8:
import { Plainbudget } from 'pbudget'
const { Plainbudget } = require('pbudget')
See http://galvez.github.io/plainbudget for details.
Library API badly needs docs, see src/components/Sheet.vue
for now.
# reads and modifies file with result
pbudget sheet.txt -s
# reads file and prints result
pbudget sheet.txt
# process from stdin and write to stdout
cat sheet.txt | pbudget > new-sheet.txt
npm start # starts Nuxt development server
npm run build # builds SPA in docs/ folder
Requires Nuxt for running and building.
MIT