# sjt

> Copy text from JSXText nodes into a separate file

Latest version **0.0.3** (published 2020-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install sjt
pnpm add sjt
yarn add sjt
bun add sjt
```

Provides the command `sjt`.

## 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 | 2020-11-07 |
| First published | 2020-10-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=10 |
| Dependencies | 6 |
| Unpacked size | 8.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Jan Czizikow |
| Maintainers | janczizikow |
| Keywords | react, jsx, productivity |

## Links

- npm: https://www.npmjs.com/package/sjt
- Repository: https://github.com/janczizikow/sjt
- Homepage: https://github.com/janczizikow/sjt#readme
- Issues: https://github.com/janczizikow/sjt/issues
- npm.io page: https://npm.io/package/sjt

## Dependencies (6)

- [chalk](https://npm.io/package/chalk.md) ^4.1.0
- [semver](https://npm.io/package/semver.md) ^7.3.2
- [commander](https://npm.io/package/commander.md) ^6.2.0
- [@babel/parser](https://npm.io/package/@babel/parser.md) ^7.12.3
- [@babel/traverse](https://npm.io/package/@babel/traverse.md) ^7.12.1
- [lodash.camelcase](https://npm.io/package/lodash.camelcase.md) ^4.3.0

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 0.0.3 (latest) — 2020-11-07
- 0.0.2 — 2020-10-25
- 0.0.1 — 2020-10-25

## README

<h2 align="center"> 📝 sjt 📝</h2>

<p align="center">
<b>📝 Scan JSX Text 📝</b>
</p>

<p align="center">
  <a href="https://circleci.com/gh/janczizikow/sjt">
    <img src="https://circleci.com/gh/janczizikow/sjt.svg?style=svg" alt="CircleCI" />
  </a>
  <a href="https://codecov.io/gh/janczizikow/sjt">
    <img src="https://img.shields.io/codecov/c/github/janczizikow/sjt?style=flat-square" alt="code coverage" />
  </a>
  <a href="https://www.npmjs.com/package/sjt">
    <img src="https://img.shields.io/npm/v/sjt.svg?style=flat-square" alt="npm version"/>
  </a>
  <a href="https://github.com/janczizikow/sjt/blob/main/LICENSE">
    <img src="https://img.shields.io/npm/l/sjt.svg?style=flat-square" alt="license" />
  </a>
  <a href="https://github.com/prettier/prettier">
    <img src="https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square" alt="code style: prettier" />
  </a>
</p>

<p>Copy text from JSXText nodes into a separate file:</p>

```sh
# example.js
# import React from 'react';

# export default function Example() {
#   return (
#     <div>
#       <span>Hello world!</span>
#     </div>
#   );
# }

sjt ./example.js

# output:
# example.json
# {
#   "example.helloWorld": "Hello world!"
# }
```

## 🚀 Installation

You don't really need to install anything to use `sjt`. You can use it with npx:

```sh
npx sjt
```

In case you want to install it:

```
# might need to run it with sudo on Linux
npm i -g sjt
```

## 👨‍⚖️ License

[MIT](LICENSE)

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