FastPath
A jsonpath parser.
Install / Use
/learn @pvenkatakrishnan/FastPathREADME
fastPath 
An attempt at an optimized jsonpath parser
Check the spec here: http://goessner.net/articles/JsonPath/
Use
var fastpath = require('fastpath');
var matcher = fastpath(pattern);
// or
var matcher = fastpath({
name: pattern,
name2: pattern2
});
matcher.evaluate(object);
| Pattern | Description | |---|---| | $ | the root object/element | | @ | the current object/element | | . or [] | child operator | | .. | recursive descent | | * | wildcard - All objects/elements regardless of their names | | [] | Native array operator | | [,] | Names or array indices | | [start : end : step] | Slices subset of the array based on the start, end and step values | | ?() | applies a filter |
The tape tests have most of the patterns supported by the spec.
Related Skills
node-connect
344.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
96.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
344.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
344.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
