1.0.2 • Published 6 years ago

skills-importer v1.0.2

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

Skills Importer

npm

A basic importer to import skills from websites (currently GitHub only) for Node.js.

Feature

  • Import skills from Github (repository's language and its stars count).

Installing

Using npm:

$ npm install skills-importer

Example

Import skills from GitHub

const { fromGithub } = require('skills-importer');

const credential = {
  username: 'YOUR_USERNAME_HERE',
  password: 'YOUR_PASSWORD_HERE',
};

const getSkillsFromGithub = async (auth) => {
  const result = await fromGithub(auth);
  console.log(result);
};

getSkillsFromGithub(credential);

/**
 * Returns
 * 
 * {
 *   is_success: true,
 *   skills: {
 *     JavaScript: 2,
 *     Swift: 4,
 *     Kotlin: 3,
 *     CSS: 2,
 *     Java: 2
 *   }
 * }
 * 
 * /

Copyright

Copyright © 2018. Zuhriyan Sauqi.

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago