new-function

✨ A tiny utility for creating a new Netlify Function.

MIT License

Downloads
12
Stars
4
Committers
1

✨ New Function ✨

A tiny utility for creating a new Netlify Function.

From the root directory of your project, run:

npx new-function

That's it! You'll get a new function created from a template.

💡 If you're looking for a more advanced starting point and different customization options, consider using the Netlify CLI.

To develop the function locally, install the Netlify CLI and run netlify dev.

Once you're ready to deploy, push the file to your repository. If you don't have continuous integration set up, you can use the CLI and run netlify deploy.