-
temp-convertify-2 is a small npm package for calculating some features.
-
Install temp-convertify2 with the following command
npm install temp-convertify2
-
Create a index.js file and add the following code for using temp-convertify2.
const temp = require("temp-convertify2")
-
temp-convertify2 has this functions available.
temp.celsiusToFahrenheit() temp.fahrenheitToCelsius()
-
create your own package
-
npm publish
-
sign up to npm
-
npm login ---
-
after login, npm publish
-- npm version patch
-- npm publish
- (Contributing packages to the registry)[https://docs.npmjs.com/packages-and-modules/contributing-packages-to-the-registry]