Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bloctree

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bloctree

project container blocks

  • 0.0.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Bloctree

$ npm install -g bloctree
$ bloctree new newBlock
$ cd newBlock
$ bloctree about

(Bloctree : org administration) AS (Docker : app environment)

Bloctree = containerization of project administration. Just like you would run git init or rails new when starting a new codebase, you can run bloctree new to create a project administration folder.

The folder represents the (project|company|organization|division) and contains all of its administrative data (books, accounts, legal documents, ideology, processes, etc.). The Bloctree software is your interface between the data.

All files are human-readable. This is for both transparency and to make it easier to track changes over time.

Updating

To migrate your Bloctree to a new version, after updating the Bloctree software, run bloctree migrate. Adding -v 0.0.0 will specify the version to migrate to.

Accounting books

# New account:
$ bloctree new:account [name] [category]
$ bloctree new:account receivables assets/current

# Record a transaction:
$ bloctree record [transaction] [amount]
$ bloctree record expense 155.12 -m "Wireless keyboard"
$ bloctree record sale 120 -m "2 billable hours"

# Record separate entries:
$ bloctree new:entry [account] [--debit <amt>] [--credit <amt>]
$ bloctree new:entry receivable -d 800 -m "Rent payment"
$ bloctree new:entry sales -c 800 -m "Rent payment"

# Build a balance sheet:
$ bloctree get:balance

Double-entry bookkeeping

Each transaction must debit an account and credit another account in an equal amount.

DebitCredit
AssetIncreaseDecrease
LiabilityDecreaseIncrease
RevenueDecreaseIncrease
ExpenseIncreaseDecrease
EquityDecreaseIncrease

Folder structure

books
├── assets
│   ├── 100-cash.tsv
│   └── 101-accounts_receivable.tsv
├── liabilities
│   ├── 200-accounts_payable.tsv
│   └── 201-credit.tsv
├── equity
│   ├── 300-contributed_capital.tsv
│   ├── revenues
│   │   └── 400-revenues.tsv
│   └── expenses
│       └── 600-expenses.tsv
└── config.json
Account numbers
RangeType of Account
100-199Assets
200-299Liabilities
300-399Owner's Equity
400-499Revenues
500-599Costs of Goods Sold
600-699Expenses

FAQs

Package last updated on 16 Nov 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc