1.1.2 • Published 6 years ago

acapm-ruiliu-hw v1.1.2

Weekly downloads
7
License
ISC
Repository
github
Last release
6 years ago

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
1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.5

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago