Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/ryanve/mark
- Owner: ryanve
- License: mit
- Created: 2012-09-09T12:26:25.000Z (about 12 years ago)
- Default Branch: gh-pages
- Last Pushed: 2017-02-24T13:32:12.000Z (over 7 years ago)
- Last Synced: 2024-10-08T01:18:00.776Z (about 1 month ago)
- Topics: javascript, tracking, uid
- Language: JavaScript
- Homepage: http://ryanve.github.io/mark/
- Size: 27.3 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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