1.0.12 • Published 8 months ago
create-langchainjs-app v1.0.12
Introduction
A CLI tool that helps you quickly create a pure TypeScript project tailored for use with LangchainJS. This tool sets up a comprehensive development environment, complete with pre-commit hooks, esLint configuration, prettier, commit linting, and more.
Here's what you can expect from create-langchainjs-app:
- Pre-commit hooks: We've got you covered with pre-commit hooks that ensure your code is formatted and linted before you commit.
- EsLint configuration: We set up esLint to enforce coding standards and help you catch errors early.
- Prettier: We've included prettier to keep your code looking neat and organized.
- Commit Lint: Our commit linting feature ensures that your commit messages are clear and consistent.
- Git init: We initialize a new git repository for you, so you can start versioning your code right away.
- Install dependencies: We take care of installing the necessary dependencies for your project, including TypeScript and its related tools.
- Gitignore: We set up a .gitignore file to ignore unnecessary files and help you keep your repository organized.
- TypeScript: We use TypeScript with ES modules (ESM) to enable tree shaking and optimize your code for production.
- TypeScript alias using @: We configure TypeScript to use the @ symbol as an alias for your project's namespace, making it easier to import and use your code.
Getting Started
With create-langchainjs-app, you can quickly create a new LangchainJS project with a solid foundation for development. Just run the following command in your terminal:
npx create-langchainjs-app@latest my-langchainjs-app