placeholder

/dev/lawyer

>> Law, technology, and the space between

All content by Kyle E. Mitchell, who is not your attorney.

You can subscribe via RSS/Atom.

vesting.jsFrom code to law and back again

vesting is an npm package that calculates startup stock vesting. vesting-commonform is also an npm package that calculates startup stock vesting.

Each package exports a single JavaScript function. They take the same arguments.

vesting returns a function that calculates the number of vested shares, given the total shares subject to vesting, start date, and last day at work. vesting-commonform returns a Common Form vesting schedule using typical terminology and values for the fill-in-the-blanks it contains.

vesting and vesting-commonform are designed to produce equivalent results, given equivalent inputs. Another package, vesting-implement takes the output of vesting-commonform and produces the output of vesting. It’s verified with round-trip automated tests.

Code to legal. Legal to code.

Your thoughts and feedback are always welcome by e-mail.

more articlesrevision historyback to top