Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andrelmlins/react-string-checker
String Literal Searcher
https://github.com/andrelmlins/react-string-checker
checker i18n language react string-checker
Last synced: about 3 hours ago
JSON representation
String Literal Searcher
- Host: GitHub
- URL: https://github.com/andrelmlins/react-string-checker
- Owner: andrelmlins
- License: mit
- Created: 2019-09-17T02:44:21.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-10-02T21:06:29.000Z (about 1 year ago)
- Last Synced: 2024-06-11T18:06:11.999Z (5 months ago)
- Topics: checker, i18n, language, react, string-checker
- Language: JavaScript
- Homepage:
- Size: 90.8 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# React String Checker
[![npm version](https://badge.fury.io/js/react-string-checker.svg)](https://badge.fury.io/js/react-string-checker) • [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/andrelmlins/react-string-checker/blob/master/LICENSE) • [![Build Status](https://travis-ci.com/andrelmlins/react-string-checker.svg?branch=master)](https://travis-ci.com/andrelmlins/react-string-checker) • [![Dependencies](https://david-dm.org/andrelmlins/react-string-checker.svg)](https://david-dm.org/andrelmlins/react-string-checker) • [![Language grade: JavaScript](https://img.shields.io/lgtm/grade/javascript/g/andrelmlins/react-string-checker.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/andrelmlins/react-string-checker/context:javascript)
## Basic Use
```
npx react-string-checker
# or
npm i -g react-string-checker
react-string-checker
```## Using in project
### Installation
```
npm i --save-dev react-string-checker
# or
yarn add -D react-string-checker
```### Starting
#### Insert into `package.json` file script:
```
...
"scripts": {
...
"string-checker": "react-string-checker"
...
}
...
```#### Run the command:
```
yarn string-checker
```## Using in NodeJS:
### Running checker
```javascript
const CheckerStrings = require('react-string-checker');const checkerStrings = new CheckerStrings('./src');
checkerStrings.run();
```### Get checker result
```javascript
const CheckerStrings = require('react-string-checker');const checkerStrings = new CheckerStrings('./src');
const strings = checkerStrings.listAllStrings();
```## NPM Statistics
Download stats for this NPM package
[![NPM](https://nodei.co/npm/react-string-checker.png)](https://nodei.co/npm/react-string-checker/)
## License
React String Checker is open source software [licensed as MIT](https://github.com/andrelmlins/react-string-checker/blob/master/LICENSE).