Remove ES6 dependencies from build script
This commit is contained in:
4 files changed
+2252
-5
No files matched your search
@@ -6,5 +6,3 @@ mkdir -p ../json
|
|||||||
node md2json.js ../README.md > ../json/entries.min.json
|
node md2json.js ../README.md > ../json/entries.min.json
|
||||||
# beautify the previously created JSON file, redirect to /json
|
# beautify the previously created JSON file, redirect to /json
|
||||||
python -m json.tool ../json/entries.min.json > ../json/entries.json
|
python -m json.tool ../json/entries.min.json > ../json/entries.json
|
||||||
# print out pretty JSON (useful for debugging, checking for new entries, etc)
|
|
||||||
cat ../json/entries.json
|
|
||||||
+3
-3
@@ -1,6 +1,6 @@
|
|||||||
fs = require('fs')
|
fs = require('fs')
|
||||||
|
|
||||||
function md_trim(str, context = null) {
|
function md_trim(str, context) {
|
||||||
str = str.replace(/(^\s+)|(\s+$)/g, "");
|
str = str.replace(/(^\s+)|(\s+$)/g, "");
|
||||||
|
|
||||||
if (context == 1) { // Name
|
if (context == 1) { // Name
|
||||||
@@ -52,7 +52,7 @@ function handle(filename, anchor) {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
table_name = line.split(anchor)[1];
|
table_name = line.split(anchor)[1];
|
||||||
table_name = md_trim(table_name)
|
table_name = md_trim(table_name, 0)
|
||||||
|
|
||||||
line = read_line()
|
line = read_line()
|
||||||
|
|
||||||
@@ -60,7 +60,7 @@ function handle(filename, anchor) {
|
|||||||
line = line.split("|")
|
line = line.split("|")
|
||||||
for (var j in line) {
|
for (var j in line) {
|
||||||
|
|
||||||
line[j] = md_trim(line[j])
|
line[j] = md_trim(line[j], 0)
|
||||||
if ((j == 0 || j == line.length - 1) && line[j] === "") {
|
if ((j == 0 || j == line.length - 1) && line[j] === "") {
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
+2248
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1 @@
|
|||||||
|
{"Animals":[{"API":"IUCN","Description":"IUCN Red List of Threatened Species","Auth":"token","HTTPS":false,"Link":"http://apiv3.iucnredlist.org/api/v3/docs"},{"API":"Petfinder","Description":"Adoption","Auth":"Yes","HTTPS":true,"Link":"https://www.petfinder.com/developers/api-docs/"},{"API":"RescueGroups","Description":"Adoption","Auth":null,"HTTPS":true,"Link":"https://userguide.rescuegroups.org/display/APIDG/API+Developers+Guide+Home"}],"Anime":[{"API":"AniList","Description":"AniList Anime","Auth":"OAuth","HTTPS":false,"Link":"http://anilist-api.readthedocs.io/en/latest/"},{"API":"Jikan","Description":"Unofficial MyAnimeList API","Auth":null,"HTTPS":true,"Link":"https://jikan.me"},{"API":"Kitsu","Description":"Anime discovery platform","Auth":"OAuth","HTTPS":true,"Link":"http://docs.kitsu.apiary.io/"},{"API":"Studio Ghibli","Description":"Resources from Studio Ghibli films","Auth":null,"HTTPS":true,"Link":"https://ghibliapi.herokuapp.com"}],"Anti-Malware":[{"API":"Certly","Description":"Certly Link/Domain Flagging","Auth":"token","HTTPS":true,"Link":"https://guard.certly.io/"},{"API":"Google Safe Browsing","Description":"Google Link/Domain Flagging","Auth":"token","HTTPS":true,"Link":"https://developers.google.com/safe-browsing/"},{"API":"Metacert","Description":"Metacert Link Flagging","Auth":"token","HTTPS":true,"Link":"https://metacert.com/"},{"API":"VirusTotal","Description":"VirusTotal File/URL Analysis","Auth":"token","HTTPS":true,"Link":"https://www.virustotal.com/en/documentation/public-api/"},{"API":"Web Of Trust (WOT)","Description":"Website reputation","Auth":"apiKey","HTTPS":true,"Link":"https://www.mywot.com/wiki/API"}],"Art & Design":[{"API":"Dribbble","Description":"Design","Auth":"OAuth","HTTPS":false,"Link":"http://developer.dribbble.com/v1/"},{"API":"Noun Project","Description":"Icons","Auth":"OAuth","HTTPS":false,"Link":"http://api.thenounproject.com/index.html"},{"API":"Icons8","Description":"Icons","Auth":"OAuth","HTTPS":true,"Link":"http://docs.icons8.apiary.io/#reference/0/meta"},{"API":"Rijksmuseum","Description":"Art","Auth":"apiKey","HTTPS":true,"Link":"https://www.rijksmuseum.nl/en/api"}],"Books":[{"API":"British National Bibliography","Description":"Books","Auth":null,"HTTPS":false,"Link":"http://bnb.data.bl.uk/"},{"API":"Goodreads","Description":"Books","Auth":null,"HTTPS":true,"Link":"https://www.goodreads.com/api"},{"API":"Google Books","Description":"Books","Auth":"OAuth","HTTPS":true,"Link":"https://developers.google.com/books/"}],"Business":[{"":"mailgun","API":"Email Service","Description":"apiKey","Auth":true,"HTTPS":"https://www.mailgun.com/"},{"":"markerapi","API":"Trademark Search","Description":null,"Auth":false,"HTTPS":"http://www.markerapi.com/"}],"Calendar":[{"API":"Church Calendar","Description":"Catholic liturgical calendar","Auth":null,"HTTPS":false,"Link":"http://calapi.inadiutorium.cz/"},{"API":"Holidays","Description":"Historical data regarding holidays","Auth":"apiKey","HTTPS":true,"Link":"https://holidayapi.com/"},{"API":"LectServe","Description":"Protestant liturgical calendar","Auth":null,"HTTPS":false,"Link":"http://www.lectserve.com"},{"API":"Non-Working Days","Description":"Database of ICS files for non working days","Auth":null,"HTTPS":true,"Link":"https://github.com/gadael/icsdb"}],"Cloud Storage & File Sharing":[{"API":"Box","Description":"File Sharing and Storage","Auth":"OAuth","HTTPS":true,"Link":"https://developer.box.com/"},{"API":"Dropbox","Description":"File Sharing and Storage","Auth":"OAuth","HTTPS":true,"Link":"https://www.dropbox.com/developers"},{"API":"Google Drive","Description":"File Sharing and Storage","Auth":"OAuth","HTTPS":true,"Link":"https://developers.google.com/drive/"},{"API":"OneDrive","Description":"File Sharing and Storage","Auth":"OAuth","HTTPS":true,"Link":"https://dev.onedrive.com/"}],"Currency Exchange":[{"API":"Currencylayer","Description":"Exchange rates and currency conversion","Auth":"apiKey","HTTPS":true,"Link":"https://currencylayer.com/documentation"},{"API":"Fixer.io","Description":"Exchange rates and currency conversion","Auth":null,"HTTPS":true,"Link":"http://fixer.io"}],"Data Access":[{"API":"18F","Description":"US Federal Government /Developer Program","Auth":null,"HTTPS":false,"Link":"http://18f.github.io/API-All-the-X/"},{"API":"Abbreviation","Description":"Get abbreviations and meanings","Auth":"X-Mashape-Key","HTTPS":true,"Link":"https://market.mashape.com/daxeel/abbreviations"},{"API":"CARTO","Description":"Location Information Prediction","Auth":"apiKey","HTTPS":true,"Link":"https://carto.com/"},{"API":"Callook.info","Description":"United States ham radio callsigns","Auth":null,"HTTPS":true,"Link":"https://callook.info"},{"API":"Celebinfo","Description":"Celebrity information","Auth":"X-Mashape-Key","HTTPS":true,"Link":"https://market.mashape.com/daxeel/celebinfo/"},{"API":"Colorado Data Engine","Description":"Formatted and geolocated Colorado public data","Auth":null,"HTTPS":true,"Link":"http://cLine truncated
|
||||||
Reference in new issue
Block a user