https://github.com/azu/sql-string-search
A CLI that search SQL-like string from source codes.
https://github.com/azu/sql-string-search
search sql
Last synced: 9 months ago
JSON representation
A CLI that search SQL-like string from source codes.
- Host: GitHub
- URL: https://github.com/azu/sql-string-search
- Owner: azu
- License: mit
- Created: 2020-03-25T08:47:08.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-03-26T04:51:30.000Z (about 6 years ago)
- Last Synced: 2025-06-10T00:02:56.917Z (10 months ago)
- Topics: search, sql
- Language: TypeScript
- Homepage:
- Size: 38.1 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sql-string-search
A CLI that search SQL-like string from source codes.
## Features
- Search SQL-like String like `SELECT` or `WHERE` or `FROM"` in JavaScript source code
## Supports Language
- [x] JavaScript
- [ ] TypeScript
## Supports Syntax
- [x] Template Literal
- [ ] Strings
## Install
Install with [npm](https://www.npmjs.com/):
npm install sql-string-search
## Usage
Usage
$ sql-string-search [glob*]
Examples
$ sql-string-search "**/*"
## Changelog
See [Releases page](https://github.com/azu/sql-string-search/releases).
## Running tests
Install devDependencies and Run `npm test`:
npm test
## Contributing
Pull requests and stars are always welcome.
For bugs and feature requests, [please create an issue](https://github.com/azu/sql-string-search/issues).
1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D
## Author
- [github/azu](https://github.com/azu)
- [twitter/azu_re](https://twitter.com/azu_re)
## License
MIT © azu