Commands
generate
library
typescript

typescript

The Devmy CLI provides a set of predefined configurations that will allow you to start developing right away.

Get Started

To create a new typescript library, use the following Devmy CLI command:

devmy generate library typescript

Variables

You can configure the initial application with the following parameters:

  • Library name: The name of the library

Advantages

Lodash

The typescript library includes lodash-es (opens in a new tab) as a preinstalled dependency, a JavaScript utility library. Lodash-ES is a modular version of Lodash, designed to be used with ECMAScript (ES) modules.

Test

The typescript library created with the Devmy CLI is preconfigured to use Jest as the unit testing framework. Jest is a modern and versatile testing library that offers superior performance, simpler setup, and advanced features like snapshot testing.

Vite

The typescript library created with the Devmy CLI is preconfigured to use vite for build. Vite is a modern and versatile bundler that offers superior performance, simpler setup, and advanced features.

The typescript library output these bundle formats: "es", "cjs", "iife", "umd".