Skip to content

galvez/plainbudget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

plainbudget: Minimalist Plain Text Budgeting

npm install pbudget -g

Latest library version is 0.2.8:

ESM

import { Plainbudget } from 'pbudget'

CommonJS

const { Plainbudget } = require('pbudget')

See http://galvez.github.io/plainbudget for details.

Library API badly needs docs, see src/components/Sheet.vue for now.

CLI

# 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

Development

npm start # starts Nuxt development server
npm run build # builds SPA in docs/ folder

Requires Nuxt for running and building.

License

MIT