acapm-dane

* Create a node program * Check for the first process argument to be init * If the first argument is init continue processing * Use readline to ask for 5 inputs * Create a string that is a json object * The key values should be the inputs you get from the

Stats

StarsIssuesVersionUpdatedCreatedSize
acapm-dane
1.0.43 years ago3 years agoMinified + gzip package size for acapm-dane in KB

Readme

Let's create our own package manager

  • Create a node program
  • Check for the first process argument to be init
  • If the first argument is init continue processing
  • Use readline to ask for 5 inputs
  • Create a string that is a json object
  • The key values should be the inputs you get from the user
  • Save this json to a file called package.json

Bonus

  • Don't hardcode the readlines
  • Don't use a loop
  • Don't using string concatenation or template literals

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.