プロジェクト
概要
Minimalist Plain Text Budgeting
Web・アプリ開発計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- 0
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルPlainBudget
Minimalist plain text budgeting.
% npm i pbudget -g
% pbudget -s Budget.txt
% pbudget --stats Budget.txt
% cat Budget.txt | pbudget > Budget.txt
Supported Syntax
Groups start with
=and are used to group values.Flows start with
+and are used to express cash flow.Groups can be referenced in other groups or flows.
Multipliers can added to any referenced group or value.
Blocks of text with invalid syntax will be ignored and remain intact in the source.
Circular dependencies (group references) will cause both groups to be ignored.
Padding is automatically added to the value column.
Input
|
Output
|
Programmatic Usage
import { readFileSync } from 'node:fs'
import { PlainBudget } from 'pbudget'
const budget = readFileSync('Budget.txt', 'utf8')
const pbudget = new PlainBudget(budget)
pbudget.process()
console.log(pbudget.renderWithPadding())
pbudget.computeStats()
console.log(pbudget.stats)
関連プロジェクトを探す
読み込み中…