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

binary-breeder

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

binary-breeder

Breeds two strings of binary digits and breeds the requested number of offspring.

  • 0.1.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-33.33%
Maintainers
1
Weekly downloads
 
Created
Source

binary-breeder

Breeds two strings of binary digits and breeds the requested number of offspring.

npm Coverage Status Build Status

##Installation npm install binary-breeder

##Dev Setup

npm install -g mocha
npm install -g istanbul

##Unit Tests

npm test

##Coverage

npm run cover

##Usage

var reproduce = require('binary-breeder');

var numOffspring = 5;
var mutationChance = 0.002;
var parentChromosomes = [
    '000011001101100101',
    '110010100110110100'
];

var offspring = reproduce(parentChromosomes, numOffspring, mutationChance);

FAQs

Package last updated on 03 Sep 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