would be nice if the js api would allow some of the same arguments as `npm install`, such as `--save`, etc