JSON-file-pointer
Simply returns line/column location in a js-file with JSON from path:
const jsonPointer = ; const jsonExample = ; /** * ({ * shouldDeps: [ * { block: 'js' }, * { block: 'page', elem: ['header', 'body'] } * ] * }); */ console; // { line: 4, column: 33 }
Also works with module.exports
and exports
form.