July 31, 2015
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.
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 articles — revision history — back to top