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

bingo

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bingo

Test function calls.

  • 0.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6
decreased by-25%
Maintainers
1
Weekly downloads
 
Created
Source

bingo

Test function calls.

Getting Started

Install the module with: npm install bingo

Examples

// Require the module.
var bingo = require('bingo');

// Bingo that object.
var someObject = bingo(someObject);

// Get info about the function.
console.log(someObject.someFunction.didExecute() === false); // true
console.log(someObject.someFunction.timesExecuted()); // 0

// Call some function.
someObject.someFunction();

// Get info about the execution of the function.
console.log(someObject.someFunction.didExecute() === true); // true
console.log(someObject.someFunction.timesExecuted()); // 1

Contributing

Yes yes, please, contribute. What else do you want to know about an execution of a function ?

Lint and test your code using grunt.

Release History

  • 0.2.0 (2012-06-14) Make bingo work in the browser
  • 0.1.0 (2012-06-14) First version

License

Copyright (c) 2012 Djorje Lukic

Licensed under the MIT license.

FAQs

Package last updated on 14 Jun 2012

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