Package Exports
- ui-studentsearch
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ui-studentsearch) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
ui-studentsearch
A simple API for majapahit.cs.ui.ac.id/studentsearch.
Installation
npm install --save ui-studentsearchUsage
var ss = require('ui-studentsearch');
// search by npm
ss('1506688888', function(err, students) {
console.log(err || students);
});
// fuzzy npm search
ss('1506688', function(err, students) {
console.log(err || students);
});
// search by email
ss('foo.bar@ui.ac.id', function(err, students) {
console.log(err || students);
});
// fuzzy name search
ss('test', function(err, students) {
console.log(err || students);
});