Rename js files to ts
Small refactor
package.json to 2 spaces indentation
npm init
Convert code to TypeScript