baldrick-ts
TypeScript icon, indicating that this package has built-in type declarations

0.16.0 • Public • Published

Baldrick-ts

npm Build status npm bundle size

npm type definitions node-current NPM

Baldrick-ts is a Typescript assistant with a cunning plan that can be used for scaffolding

The main motivation is to streamline the development process for node.js libraries and CLI written in Typescript. It supports the following features.

  • Typescript the strongly typed alternative to Javascript.

  • ES2020 or later.

  • baldrick-dev-ts under the hood linting and testing.

  • Standardized markdown docs for maintenance and support.

  • Github workflow support for continuous integration.

  • Visual Studio Code snippets for common project suggestions.

Usage

Generate and standardize the source code files

baldrick-ts generate [options]

  • Options:

  • -f, --feature [feature...] List of features (choices: "lib", "cli", "gen")

  • -n, --name [name] Name of the library

  • -ga, --github-account [githubAccount] Github account

  • -ch, --copyright-holder [copyrightHolder] The owner of the copyright regarding the source code

  • -cy, --copyright-start-year [copyrightStartYear] The year the project has been started (default: "2021")

  • -l, --license [license] Open source license if any (choices: "MIT", "UNLICENSED", default: "MIT")

  • -b, --bin [bin] The binary command used for calling the CLI

  • -h, --help display help for command

Documentation and links

Installation

This package is ESM only.

yarn global add baldrick-ts
baldrick-ts --help

Or alternatively run it:

npx baldrick-ts --help

If you want to tun the latest version from github. Mostly useful for dev:

git clone git@github.com:flarebyte/baldrick-ts.git
yarn global add `pwd`

Package Sidebar

Install

npm i baldrick-ts

Weekly Downloads

1

Version

0.16.0

License

MIT

Unpacked Size

174 kB

Total Files

114

Last publish

Collaborators

  • olih