المشاريع
عرض على GitHub 
galvez/plainbudget
حول
Minimalist Plain Text Budgeting
تطوير الويب والتطبيقاتالنمو المقاس للنجوم
- خلال 24 ساعة
- ٠
- خلال 7 أيام
- ٠
- خلال 15 يومًا
- ٠
- خلال شهر
- جارٍ جمع السجل
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
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)
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…