{"maintainers":[{"name":"anonymous","email":"w.laurance@gmail.com"}],"dist-tags":{"latest":"1.0.0"},"versions":{"0.0.2":{"author":{"name":"Will S Laurance","email":"w.laurance@gmail.com","url":"http://www.wlaurance.com"},"name":"singleton","description":"A singleton javascript class","version":"0.0.2","homepage":"https://github.com/wlaurane/singleton","repository":{"url":"git@github.com:wlaurance/singleton.git"},"main":"lib/singleton.js","preferGlobal":false,"scripts":{"test":"make test"},"dependencies":{},"devDependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"_npmUser":{"name":"anonymous","email":"w.laurance@gmail.com"},"_id":"singleton@0.0.2","_engineSupported":true,"_npmVersion":"1.1.24","_nodeVersion":"v0.6.19","_defaultsLoaded":true,"dist":{"shasum":"5e255a1177e7eda3a75c3a85acbdf778129610cf","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/singleton/-/singleton-0.0.2.tgz","integrity":"sha512-+s7rN7SuTHUbELGQxFLcGY19bnovJcwANKEmKfHBrgfm1zODfrKTQb94MQJJvud2tCz/sRG7vtvB6z8+Iitqlw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGrXwB9Lcp5HBPzc06YZWKMYcQr3sZtJg6n40gc1eY9YAiEAiWVn/7PDSjYrqa5JFrAo8RLDszdh6CTqRlV5TJgu6+I="}]},"maintainers":[{"name":"anonymous","email":"w.laurance@gmail.com"}],"directories":{}},"0.0.3":{"author":{"name":"Will S Laurance","email":"w.laurance@gmail.com","url":"http://www.wlaurance.com"},"name":"singleton","description":"A singleton javascript class","version":"0.0.3","homepage":"https://github.com/wlaurane/singleton","repository":{"url":"git@github.com:wlaurance/singleton.git"},"main":"lib/singleton.js","scripts":{"test":"make test"},"dependencies":{},"devDependencies":{"mocha":"*","should":"*"},"optionalDependencies":{},"engines":{"node":"*"},"_npmUser":{"name":"anonymous","email":"w.laurance@gmail.com"},"_id":"singleton@0.0.3","_engineSupported":true,"_npmVersion":"1.1.24","_nodeVersion":"v0.6.19","_defaultsLoaded":true,"dist":{"shasum":"571c324cb5bdb328bca1c2e775723dd063c752eb","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/singleton/-/singleton-0.0.3.tgz","integrity":"sha512-/aNm8j0Ub8STI0VVoWpc3c/V/aHDj9fC4uaHk2K4lbf9yRA52gZgjDNCBS8DQSFt7yb0DJNNxOvNQMhUrvTDCA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDU12iCoasDySBlT0CxBKubluEomKp2IKbHAqE0Nmb+fwIhANV7vp2fYWN1enG1kIf+Q2G9YumjiyHgIyhkej+pzw47"}]},"maintainers":[{"name":"anonymous","email":"w.laurance@gmail.com"}],"directories":{}},"1.0.0":{"author":{"name":"Will S Laurance","email":"w.laurance@gmail.com","url":"http://www.wlaurance.com"},"name":"singleton","description":"A singleton javascript class","version":"1.0.0","homepage":"https://github.com/wlaurance/singleton","repository":{"url":"git@github.com:wlaurance/singleton.git"},"main":"lib/singleton.js","scripts":{"test":"make test"},"dependencies":{},"devDependencies":{"mocha":"*","should":"*"},"optionalDependencies":{},"engines":{"node":"*"},"readme":"singleton\n=========\n\nsingleton javascript class\n\nThe most tested singleton javascript class **ever**\n\n[![Build\nStatus](https://secure.travis-ci.org/wlaurance/singleton.png)](http://travis-ci.org/wlaurance/singleton)\n\n\n###Example\n```\nsingleton = require '../lib/singleton'\n\nclass TestClass extends singleton\n  constructor:(@instantiated_time = (new Date()).toString())->\n    @testString = 'hello'\n\nmodule.exports = TestClass.get()\n```\n\n\n```\n(function() {\n  var TestClass, singleton,\n    __hasProp = {}.hasOwnProperty,\n    __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; };\n\n  singleton = require('../lib/singleton');\n\n  TestClass = (function(_super) {\n\n    __extends(TestClass, _super);\n\n    function TestClass(instantiated_time) {\n      this.instantiated_time = instantiated_time != null ? instantiated_time : (new Date()).toString();\n      this.testString = 'hello';\n    }\n\n    return TestClass;\n\n  })(singleton);\n\n  module.exports = TestClass.get();\n\n}).call(this);\n```\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/wlaurance/singleton/issues"},"_id":"singleton@1.0.0","dist":{"shasum":"e5f1ab11b5d0b77a171ef9ffd5d93483d1356cde","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/singleton/-/singleton-1.0.0.tgz","integrity":"sha512-3VmDrfrealF6VSMFLvnbgDwKXmPwggjRDH6Yi7Dyetl5FJ6hQpjvmBJ/mGxNJnubSp0M8aKq513vEakacImcOw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBe31PkcQWTDVcJqor4B/+b54zl2oWkIAXdjb4Idj6nGAiEA4gSxKy5VHJIdEm3XCYvmX1FbfiKTDqhgCqTROWjImgo="}]},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"anonymous","email":"w.laurance@gmail.com"},"maintainers":[{"name":"anonymous","email":"w.laurance@gmail.com"}]}},"author":{"name":"Will S Laurance","email":"w.laurance@gmail.com","url":"http://www.wlaurance.com"},"name":"singleton","description":"A singleton javascript class","readme":"singleton\n=========\n\nsingleton javascript class\n\nThe most tested singleton javascript class **ever**\n\n[![Build\nStatus](https://secure.travis-ci.org/wlaurance/singleton.png)](http://travis-ci.org/wlaurance/singleton)\n\n\n###Example\n```\nsingleton = require '../lib/singleton'\n\nclass TestClass extends singleton\n  constructor:(@instantiated_time = (new Date()).toString())->\n    @testString = 'hello'\n\nmodule.exports = TestClass.get()\n```\n\n\n```\n(function() {\n  var TestClass, singleton,\n    __hasProp = {}.hasOwnProperty,\n    __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; };\n\n  singleton = require('../lib/singleton');\n\n  TestClass = (function(_super) {\n\n    __extends(TestClass, _super);\n\n    function TestClass(instantiated_time) {\n      this.instantiated_time = instantiated_time != null ? instantiated_time : (new Date()).toString();\n      this.testString = 'hello';\n    }\n\n    return TestClass;\n\n  })(singleton);\n\n  module.exports = TestClass.get();\n\n}).call(this);\n```\n","time":{"modified":"2022-06-26T20:13:24.272Z","created":"2012-08-21T19:12:02.417Z","0.0.2":"2012-08-21T19:12:02.964Z","0.0.3":"2012-08-21T19:47:36.895Z","1.0.0":"2013-12-23T18:29:24.720Z"},"repository":{"url":"git@github.com:wlaurance/singleton.git"}}