Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

breed

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

breed

Breed is a Helper Module which makes working with types and typeof easy as easy as it should be

  • 0.3.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Breed

build status

About

Breed is a Helper Module which makes working with types and typeof as easy as it should be.

You are even able to extend Breed with your own Functions.

You can find the complete Documentation here

Install the module with: npm install breed

var breed = require('breed');
function Person () {}
breed.register(Person);
breed.isObject(new Person()); // true
breed.isPerson(new Person()); // true
breed.isArray(new Person()); // false
breed.isntPerson(new Person()); // false

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt:

  • Available Tasks:
    • jshint
    • nodeunit
    • default (jshint + nodeunit)

Release History

  • 0.3.1

    • Deploy new Doc
  • 0.3.0

    • Refactor for more performance
  • 0.2.1

  • 0.2.0

    • Implement JSON, NaN, Finite
    • author breed.register()
    • rename breed.get() to breed.is()
  • 0.1.0 Initial Release

License

Copyright (c) 2013 Bastian Behrens Licensed under the MIT license.

Keywords

FAQs

Package last updated on 15 Mar 2013

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