# jdr-cmd-utils

> Serving command line tools useful for authors personal usage.

Latest version **0.0.3** (published 2019-09-26) · ISC license · 0 weekly downloads

## Install

```sh
npm install jdr-cmd-utils
pnpm add jdr-cmd-utils
yarn add jdr-cmd-utils
bun add jdr-cmd-utils
```

Provides the command `export-package-json`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2019-09-26 |
| First published | 2019-09-25 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Jānis Radiņš |
| Maintainers | janis-r |

## Links

- npm: https://www.npmjs.com/package/jdr-cmd-utils
- Repository: https://github.com/janis-r/cmd-utils
- Homepage: https://github.com/janis-r/cmd-utils#readme
- Issues: https://github.com/janis-r/cmd-utils/issues
- npm.io page: https://npm.io/package/jdr-cmd-utils

## Dependencies (1)

- [node](https://npm.io/package/node.md) ^12.10.0

## Recent versions

- 0.0.3 (latest) — 2019-09-26
- 0.0.2 — 2019-09-25

## README

# JDR command line utils package

Serving command line tools useful for authors personal usage

##Commands

###export-package-json

Copy `package.json` of npm project (or any other `JSON` file) to export folder and remove some data entries in a process. 

Example:
```cmd
export-package-json --file package.json --dest dist --remove-elements scripts,devDependencies
```

Where:

- `file` point to file that should be copied and altered (`package.json` is q default value)
- `dest` point to folder where updated file should should be moved to (`dist` is q default value)
- `remove-elements` is comma separated listing of top level JSON entries to be deleted (`scripts,devDependencies` is a 
default value)

This is created while working with `TypeScript` based projects that in order to be published to `NPM`, require 
transpilation result being stored in separate folder and augmented with `package.json` before `npm publish` can be 
invoked.

---
_Source: https://npm.io/package/jdr-cmd-utils · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
