gerswin / ObjectId.js

A javascript implementation of a BSON ObjectId.

Home Page:http://www.justaprogrammer.net/2011/03/26/a-bson-objectid-implementation-in-javascript/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is an implementation of ObjectId in pure javascript. 
MachineId is persistant across a single domain via html5
LocalStorage with a fallback to cookies. Something like 
evercookie could be used to make a more persistant machineId.
However, this is not the intention of this implementation.

Copyright 2011-2014 Justin Dearing <zippy1981@gmail.com> 

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation version 2
or MIT License.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.

About

A javascript implementation of a BSON ObjectId.

http://www.justaprogrammer.net/2011/03/26/a-bson-objectid-implementation-in-javascript/


Languages

Language:JavaScript 76.8%Language:HTML 23.2%