1.3.0 • Published 8 years ago

search-employee v1.3.0

Weekly downloads
4
License
(MIT)
Repository
github
Last release
8 years ago

Employee Search service library This is a java script (micro) library published in npm (MIT). This will allow to search Employees(stored in a json file) through a simple public API. During the process exercised create the javascript library, setup the github repo, publish the module to npm, setup the test suite with code coverage reporting using Karma, Mocha and Chai, add continuous integration, add ES6 (ES2015) with Babel, configure webpack, distribute the library as public (Isomorphic Javascript) module (consumable by both the browser and node)

Dependency libraries (npm i -s / npm install --save) mocha chai unique-random-array semantic-release-cli commitizen cz-conventional-changelog

To use this library : npm install search-emplyee then call the public methods all, random

This exercise totally inspired by "Introduction to How to Write an Open Source JavaScript Library" - Kent C. Dodds https://egghead.io/lessons/javascript-how-to-write-a-javascript-library-introduction