marksman

0.1.0 • Public • Published

Marksman

Replacement function for gun's internal .path() function, except replacing the core delimiter from a period to a forward-slash.

Using in applications

npm i --save marksman gun
var Gun = require('gun');
Gun.chain.path = require('marksman');
var gun = new Gun();

var x = { object: true };
// the following lines are equivalent:

gun.get('first').get('second').get('third').put(x);

gun.path(['first', 'second', 'third']).put(x);

gun.path('first/second/third').put(x);

License

This is a fork of gun.js with everything else stripped

Designed with ♥ by Mark Nadal, the GUN team, and many amazing contributors.

Openly licensed under Zlib / MIT / Apache 2.0.

Readme

Keywords

Package Sidebar

Install

npm i marksman

Weekly Downloads

7

Version

0.1.0

License

(Zlib OR MIT OR Apache-2.0)

Last publish

Collaborators

  • fussy