tscfg

0.0.7 • Public • Published

tscfg

About

Save and manage your tsconfig.json files.

Getting Started

Prerequisites

  • Node.js 20.13.1 or higher (previous versions may work but are not tested)

Installation

Install package via NPM:

npm i tscfg

Usage Example

tscfg help

A simple CLI to manage tsconfig.json files

Commands:
  - tscfg help:                              Show this help message
  - tscfg view [title]:                      View a saved tsconfig.json
  - tscfg save [title]:                      Save the current tsconfig.json
  - tscfg load [title]:                      Load a saved tsconfig.json
  - tscfg list:                              List all saved tsconfig.json
  - tscfg delete [title]:                    Delete a saved tsconfig.json
  - tscfg view-preset [title]:               View a built-in preset
  - tscfg load-preset [title]:               Load a built-in preset
  - tscfg list-presets:                      List all built-in presets
  - tscfg get-with-base64 [title]:           Get the content of a saved config in Base64
  - tscfg set-with-base64 [title] [base64]:  Set the content of a saved config from Base64
  - tscfg get-base64:                        Get the content of all of your saved configs in Base64
  - tscfg set-base64 [base64]:               Set the content of your saved configs from Base64'

Please note that you will have to use tscfg.cmd if you are using a Windows operating system.

Displays all commands.

tscfg view example-config

{
  ...
}

Config example-config viewed successfully.
tscfg save example-config

Config example-config saved successfully

Saves the tsconfig.json in your current working directory under the title provided.

tscfg load example-config

Config example-config loaded successfully

Loads the tsconfig saved under the title provided.

tscfg list

Saved configs:
  example-config

Lists all of your saved tsconfigs.

tscfg delete example-config

Config example-config deleted successfully

Deletes a saved tsconfig.

Readme

Keywords

Package Sidebar

Install

npm i tscfg

Weekly Downloads

0

Version

0.0.7

License

none

Unpacked Size

22.6 kB

Total Files

20

Last publish

Collaborators

  • ryancundiff