added a npm config file
add async as a dependency and type-check as a devDependency
added the tests and implementation