New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

aronnax-pooling

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aronnax-pooling

General purpose object pooling.

  • 0.5.7
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

Build Status

aronnax pooling

An object pool for JS. Can be used for node or the browser.

The purpose is to minimize garbage collection, which can interfere with fast performance, especially in event looped systems such as games.

setup

Install with npm.

npm install aronnax-pooling

Require if using with nodejs or browserify.

var Pooled = require('aronnax-pooling');

Extend from Pooled class

var myClass = Object.create(Pooled);

Use make to create new objects,

var instance = myClass.make();

or extend the classes constructor

function myClass() {
  var inst = this.make();

  return inst;
}

Development

Install dependencies

npm install

Lint, test build

npm run lint
npm run test || testem
npm run compile-all

Keywords

FAQs

Package last updated on 16 May 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc