{"_id":"@abdul_waheed/project-array-methods","name":"@abdul_waheed/project-array-methods","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@abdul_waheed/project-array-methods","version":"1.0.0","description":"This program demonstrates various array methods in JavaScript using an interactive command-line interface (CLI). It allows you to select from a list of array methods and see examples of how each method works.","main":"index.js","type":"module","bin":{"project-array-methods":"index.js"},"publishConfig":{"access":"public"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":[],"author":{"name":"Abdul Waheed"},"license":"ISC","devDependencies":{"@types/node":"^20.12.12"},"dependencies":{"chalk":"^5.3.0","inquirer":"^9.2.21"},"_id":"@abdul_waheed/project-array-methods@1.0.0","_nodeVersion":"20.11.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-pSudYJDVeCJB86jGfEHjVMRD29hrRc957qGFJXY0T6U5b+kVButxPgExS7IQrtQ8A3JnUMo6V7LHS5F7jM7pjg==","shasum":"6d6431c6ab6b05d16988d8542d9e74fe5bb97dce","tarball":"https://registry.npmjs.org/@abdul_waheed/project-array-methods/-/project-array-methods-1.0.0.tgz","fileCount":5,"unpackedSize":22187,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD0iMWCwzr8qTObPJt5zMz+JAo76SCPiRSk9MHqt3U1GQIhAKj2OqbafjiImdnWqkT+nZyoXq8aDNq0gCdEbN5rkOqV"}]},"_npmUser":{"name":"abdul_waheed","email":"waheedjdk@hotmail.com"},"directories":{},"maintainers":[{"name":"abdul_waheed","email":"waheedjdk@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/project-array-methods_1.0.0_1715931595313_0.7267526440659386"},"_hasShrinkwrap":false}},"time":{"created":"2024-05-17T07:39:55.182Z","1.0.0":"2024-05-17T07:39:55.490Z","modified":"2024-05-17T07:39:55.795Z"},"maintainers":[{"name":"abdul_waheed","email":"waheedjdk@hotmail.com"}],"description":"This program demonstrates various array methods in JavaScript using an interactive command-line interface (CLI). It allows you to select from a list of array methods and see examples of how each method works.","keywords":[],"author":{"name":"Abdul Waheed"},"license":"ISC","readme":"# Array Methods Example Program\r\n\r\nThis program demonstrates various array methods in JavaScript using an interactive command-line interface (CLI). It allows you to select from a list of array methods and see examples of how each method works.\r\n\r\n## Features\r\n\r\n- Interactive CLI using the Inquirer.js library.\r\n- Demonstrates the following array methods:\r\n  - `push`: Adds an element to the end of an array.\r\n  - `unshift`: Adds an element to the beginning of an array.\r\n  - `shift`: Removes the first element from an array.\r\n  - `pop`: Removes the last element from an array.\r\n  - `map`: Creates a new array by applying a function to each element of an existing array.\r\n  - `filter`: Creates a new array with elements that pass a test implemented by a provided function.\r\n  - `slice`: Returns a shallow copy of a portion of an array into a new array.\r\n  - `reverse`: Reverses the order of the elements in an array.\r\n- Allows continuous operation or exiting the program.\r\n\r\n## Getting Started\r\n\r\n### Installation\r\n\r\n1. Clone the repository: `git clone https://github.com/your-username/array-methods-example.git`\r\n2. Navigate to the project directory: `cd array-methods-example`\r\n3. Install dependencies: `npm install`\r\n\r\n### Usage\r\n\r\n1. Run the program: `npm start`\r\n2. Select array methods from the list to see examples.\r\n3. Follow the prompts to interact with the examples.\r\n4. To exit the program, select 'No' when asked to continue.\r\n\r\n## Technologies Used\r\n\r\n- JavaScript\r\n- Node.js\r\n- Inquirer.js\r\n- Chalk (for colorful console output)\r\n\r\n## License\r\n\r\nThis project is licensed under the ISC License","readmeFilename":"README.md"}