vesting-commonform

generate vesting.js-compatible vesting provisions

Usage no npm install needed!

<script type="module">
  import vestingCommonform from 'https://cdn.skypack.dev/vesting-commonform';
</script>

README

Generate vesting.js-compatible vesting provisions.

var straight48 = require('vesting-commonform')(48)
require('commonform-validate').form(straight48.form) // => true
straight48.blanks['monthly fraction'] // => '1/48th'