UNPKG

23andme-snps

Version:
33 lines (18 loc) 947 B
# 23andMe-SNPs [![travis build](https://img.shields.io/travis/vporta/23andMe-SNPs.svg)](https://travis-ci.org/vporta/23andMe-SNPs) [![codecov coverage](https://img.shields.io/codecov/c/github/vporta/23andme-snps.svg?)](https://codecov.io/gh/vporta/23andMe-snps) [![version](https://img.shields.io/npm/v/23andme-snps.svg?)](https://www.npmjs.com/package/23andme-SNPs) [![downloads](https://img.shields.io/npm/dm/23andme-snps.svg?)](https://npm-stat.com/charts.html?package=23andme-snps) [![MIT License](https://img.shields.io/npm/l/23andme-snps.svg?)](https://opensource.org/licenses/MIT) This package contains all 23andMe SNPs. ## Now Supports ES6 syntax ## Intro `npm install 23andme-snps --save` ## Usage Require the package. ``` var snps23andMe = require('23andme-snps'); import snps23andMe from '23andme-snps'; snps23andMe.all; //get all SNPs from the SNP library snps23andMe.random(3); //returns an array of 3 random SNPs ```