psq
psq (parse search query) converts a search query into JSON
Requirements
Install
- npm install psq
Example
var psq = console
Author
- Shuan Wang (twitter) (author)
TODO
- Documentation
- Add flags for HTML escaping/stripping and URL encoding/decoding
CHANGELOG
0.0.3
- Added support for terms when they contain a dash
- Words inside quotes will now have quotes stripped in results
0.0.2
- Fixed return object (now returns JSON)
- Added example
0.0.1
- Initial Release
LICENSE
- MIT