Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ryanve/mark

JavaScript object tracking system
https://github.com/ryanve/mark

javascript tracking uid

Last synced: about 1 month ago
JSON representation

JavaScript object tracking system

Awesome Lists containing this project

README

        

# mark
#### Safe unobtrusive JavaScript tracking system

```
npm install mark --save
```

## Usage

```js
var mark = require('mark')
var instance = mark() // Create instance
instance.mark(object) // Set uid
instance.marker(object) // Get uid
instance.unmark(object) // Delete uid
```

## Trackables
Any object or function can be tracked.

## Compatibility
Works in Node.js and modern (ES5) web browsers

## License
MIT