issue for earlier versions of npm
Updated README with new interface
Updated with simplified interface