hug-wrap
v1.0.1
Published
`hug-wrap` is.
Readme
hug-wrap
hug-wrap is.
Installation
Install the package using npm:
npm install hug-wrapUsage
Note: In your .env file, you must declare HUGGING_FACE_API_KEY=your_api_key_here
// .env file
HUGGING_FACE_API_KEY=asdf1234asdf1234By setting your Hugging Face API key in your .env file, hug-wrap can automatically grab your API key from your .env file. We do not store or save your API key. Examine the package to verify this. Your API key is local only to your project and not to the hug-wrap package.
Test
Example usage:
const h = require("hug-wrap");
const main = async () => {
console.log(await h.Test());
}
main()
Or:
const { Test } = require("hug-wrap");
const main = async () => {
console.log(await Test());
}
main()