create-netlify-ts

0.1.0 • Public • Published

create-netlify-ts

👟 Building Netlify Functions with TypeScript easily

📦 Package Manager agnostic

🐾 No production footprint

🚀 Ready to deploy

❯_

npm

npx create-netlify-ts

yarn

yarn create netlify-ts

❓ Answer the questions and start coding!

Terminal showing create-netlify-ts working

🌲 File tree

 {{ package-name }}
  ├── src
  │   └── {{ your-function-name }}.ts
  ├── package.json
  ├── .babelrc
  ├── .gitignore
  └── netlify.toml

🧳 Installed dependencies

All depdendencies are installed as devDependencies, create-netlify-ts has no footprint on your production code.

Required dependencies

Package Name Why
netlify-lambda Adds build-step to Netlify Functions
typescript The compiler for TypeScript (tsc)
@babel/preset-env Tells Babel which JavaScript syntax to output
@babel/preset-typescript Teach Babel to use TypeScript compiler
@types/aws-lambda Request/Response types for AWS Lambdas†

†: Netlify Functions runs on top of AWS-Lambdas

Optional dependencies

🛫 Flying solo

It‘s a dangerous road out there. Take these:

📹 Write an API with Netlify Functions and TypeScript

🐙 Monster As A Service: written in TS, deployed to Netlify

✍️ Netlify Functions 💜 TypeScript

Readme

Keywords

none

Package Sidebar

Install

npm i create-netlify-ts

Weekly Downloads

2

Version

0.1.0

License

MIT

Unpacked Size

18.2 kB

Total Files

38

Last publish

Collaborators

  • atilaz