This is a simple package intended for demonstration and learning purposes. Despite the name "vulnerable", it does not actually contain any vulnerabilities or security issues. The package provides some basic functionalities that can be used in your projects.
-
greet(name)
: Accepts a name parameter and returns a welcome message. -
addNumbers(a, b)
: Accepts two number parameters and returns their sum.
Please note that the purpose of this package is to provide a simple example for learning and understanding how to create and publish packages. It should not be used in production environments or any real-world applications, as it has not undergone thorough testing and security review.
$ npm install vulnerable