Skip to content

Commit

Permalink
Publish on NPM and fix README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent Riva committed Mar 28, 2019
1 parent 0f9ab79 commit 86547ca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@

### Specific terms
- **Blueprint**: a schema defining the structure of every *gene* (number and possible values) in a *chromosome*.
## Installation (via NPM)

npm install --save genome.js

## Example

// Import all the dependencies
import { Population } from './core/Population';
import { Blueprint } from './core/Blueprint';
import { Gene } from './core/Gene';
import { Chromosome } from './core/Chromosome';
import { Population, Blueprint, Gene, Chromosome } from 'genome.js';

// Defining the answer
const answer = 'helloworldhowareyoutoday';
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "genome.js",
"version": "1.0.0",
"version": "1.0.1",
"description": "Genetics algorithms done right",
"main": "dist/genome.min.js",
"scripts": {
Expand Down

0 comments on commit 86547ca

Please sign in to comment.