Socket
Book a DemoInstallSign in
Socket

tscfg

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tscfg

Save and manage your tsconfig.json files.

0.0.7
latest
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

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.

Keywords

typescript

FAQs

Package last updated on 19 May 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.