Add ignore rules
Add npm declarations
Add instructions and initial documentation
Add cross-platform define function
Add test files