Gathering detailed insights and metrics for @easy-starters/create-express-ts-starter
Gathering detailed insights and metrics for @easy-starters/create-express-ts-starter
Gathering detailed insights and metrics for @easy-starters/create-express-ts-starter
Gathering detailed insights and metrics for @easy-starters/create-express-ts-starter
📦 A starter npm package for Express.js projects with TypeScript, Express, Mongoose, Jest, SuperTest, Pino, ESLint, Prettier, Husky, and GitHub Actions CI
npm install @easy-starters/create-express-ts-starter
Typescript
Module System
Node Version
NPM Version
TypeScript (81.78%)
JavaScript (18.22%)
Total Downloads
271
Last Day
1
Last Week
4
Last Month
19
Last Year
257
27 Stars
16 Commits
1 Watchers
1 Branches
1 Contributors
Updated on Mar 19, 2025
Latest Version
1.0.5
Package Id
@easy-starters/create-express-ts-starter@1.0.5
Unpacked Size
15.17 kB
Size
6.24 kB
File Count
24
NPM Version
10.2.0
Node Version
21.1.0
Published on
Apr 02, 2024
Cumulative downloads
Total Downloads
Last Day
-50%
1
Compared to previous day
Last Week
-33.3%
4
Compared to previous week
Last Month
35.7%
19
Compared to previous month
Last Year
1,735.7%
257
Compared to previous year
Create Express TypeScript Starter is a boilerplate project designed to help you quickly set up a new Express.js project with TypeScript. It includes pre-configured settings and dependencies for a seamless development experience.
To get started with Create Express TypeScript Starter, follow these steps:
Use npx
to create a new project based on the starter:
1npx @easy-starters/create-express-ts-starter your_project_name
This command will create a new directory with the specified name (your_repo_name), set up the project inside it, and install all the dependencies.
Navigate into the newly created directory:
1cd your_project_name
Change some values in package.json to meet your project needs. You can modify the project name, description, author, and other configurations as necessary.
Create .env
file using the provided example in .env.example
.
Customize the README file to provide information specific to your project.
Start the development server:
1npm run dev
After setting up your project, you can use the provided scripts and configuration to start developing your Express application. Here are the scripts below:
npm run dev
: Start the development server with hot reloading.
npm run start
: Run the production build of the project.
npm run test
: Run all tests.
npm run test-coverage
: Run all tests and generate code coverage report.
npm run debug-test
: Run tests in debug mode with detection of open handles.
npm run debug-test-coverage
: Run tests in debug mode with detection of open handles and generate code coverage report.
npm run lint
: Run ESLint to lint TypeScript files.
npm run lint:fix
: Run ESLint to lint TypeScript files and automatically fix fixable issues.
npm run build
: Build the project for production.
npm run prettier-watch
: Automatically format TypeScript files using Prettier on file change.
npm run prettier:fix
: Format all TypeScript files using Prettier.
npm run prepare
: Trigger Husky to set up Git hooks.
Create Express TypeScript Starter can be customized to fit your specific requirements. You can modify configuration files, add or remove features, and integrate additional libraries or tools as needed.
The project follows a customized folder structure to organize its source code and resources efficiently. Here's an overview of the folder structure:
env.ts
for managing environment variables and logger.ts
for logging.model.ts
, interface.ts
, controller.ts
, and routes.ts
files for that specific resource.This folder structure provides a clear organization for the project's source code and resources, making it easier to navigate and maintain as the project grows.
Contributions to Create Express TypeScript Starter are welcome! To contribute, please follow these steps:
Create Express TypeScript Starter was created by Wubshet Zeleke and is maintained by the open-source community.
Create Express TypeScript Starter is licensed under the MIT License.
No vulnerabilities found.
No security vulnerabilities found.