Copy/pasta npm release lib from foundry
Copying over test suite