0.2.5 • Published 7 years ago

made-in-generator v0.2.5

Weekly downloads
-
License
MIT
Repository
-
Last release
7 years ago

Made-In-Generator

The repository is inspired by @IonicaBizau/made-in.

It supports getting developers and repositories on github and making documantation.

Usage

$ npm install --save-dev made-in-generator

Functions

Searching Developers

const { MadeIn } = require('made-in-generator');
const token = ''; // github auth token
const locations = ['Japan', 'Tokyo']; // It is used for seaching location, you should use a country and cities
return new MadeIn({ token })
  .getDevelopers(locations);  // It creates `data/developers.json`

Searching Repositories

const { MadeIn } = require('made-in-generator');
const token = ''; // github auth token
const developers = require('./data/developers.json');
return new MadeIn({ token })
  .getRepositories(developers); // It creates `data/repositories.json`

Making documantations

$ npm init

The package.json has to have homepage. It will be used for documentation links.

const { makeDocs } = require('made-in-generator');
const repositories = require('./data/repositories.json');
makeDocs(repositories);

Links

0.2.5

7 years ago

0.2.4

7 years ago

0.2.3

7 years ago

0.2.2

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago