Socket
Book a DemoInstallSign in
Socket

jsonpath-to-dot

Package Overview
Dependencies
Maintainers
46
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsonpath-to-dot

Convert a JSONPath into dotnotation

latest
Source
npmnpm
Version
0.2.1
Version published
Maintainers
46
Created
Source

jsonpath-to-dot

build status

Convert a JSONPath into dotnotation.

Example

var toDot = require('jsonpath-to-dot');
console.log(toDot('/tags'));
// 'tags'
console.log(toDot('/tags/1'));
// 'tags.1'
console.log(toDot('/tags/blah'));
// 'tags.blah'

Install

npm install --save jsonpath-to-dot

Test

npm test

License

MIT

Keywords

mongodb.js

FAQs

Package last updated on 14 Jan 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts