Created
December 25, 2018 11:55
-
-
Save jpalala/3ddd499d8b0389aa625144a2fe648a5e to your computer and use it in GitHub Desktop.
lightweight profiles fetch renderer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const octo = require('octokat')(/* Config options would go here */) | |
| const _ = require('underscore'); | |
| const persons = require('./personsofinterest.json'); | |
| let t1 = _.template("Hello <%=user%>!"); | |
| persons.forEach(function(person) { | |
| console.log(t1({ user: person.username})); | |
| }); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "github_test", | |
| "version": "0.0.3", | |
| "description": "jfoiwajefioeaw", | |
| "main": "entry.js", | |
| "scripts": { | |
| "test": "echo \"Error: no test specified\" && exit 1" | |
| }, | |
| "author": "", | |
| "license": "ISC", | |
| "dependencies": { | |
| "octokat": "^0.10.0", | |
| "underscore": "^1.9.1" | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. | |
| # yarn lockfile v1 | |
| encoding@^0.1.11: | |
| version "0.1.12" | |
| resolved "https://registry.yarnpkg.com/encoding/-/encoding-0.1.12.tgz#538b66f3ee62cd1ab51ec323829d1f9480c74beb" | |
| integrity sha1-U4tm8+5izRq1HsMjgp0flIDHS+s= | |
| dependencies: | |
| iconv-lite "~0.4.13" | |
| fetch-vcr@^1.1.0: | |
| version "1.1.2" | |
| resolved "https://registry.yarnpkg.com/fetch-vcr/-/fetch-vcr-1.1.2.tgz#8cfee49c45b464366b97fe550487dde15b948d21" | |
| integrity sha512-bFOx3+5YtViximcqhG05tqMlsyPRXNOmiToDCf6TyVUCKHYP/vGPmn0HUhGVNd1jI0KpElwz+RH3X/ZQo0Asfg== | |
| dependencies: | |
| node-fetch "^1.6.3" | |
| whatwg-fetch "^2.0.3" | |
| iconv-lite@~0.4.13: | |
| version "0.4.24" | |
| resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" | |
| integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA== | |
| dependencies: | |
| safer-buffer ">= 2.1.2 < 3" | |
| is-stream@^1.0.1: | |
| version "1.1.0" | |
| resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44" | |
| integrity sha1-EtSj3U5o4Lec6428hBc66A2RykQ= | |
| lodash@^4.16.4: | |
| version "4.17.11" | |
| resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.11.tgz#b39ea6229ef607ecd89e2c8df12536891cac9b8d" | |
| integrity sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg== | |
| node-fetch@^1.6.3: | |
| version "1.7.3" | |
| resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-1.7.3.tgz#980f6f72d85211a5347c6b2bc18c5b84c3eb47ef" | |
| integrity sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ== | |
| dependencies: | |
| encoding "^0.1.11" | |
| is-stream "^1.0.1" | |
| node-fetch@^2.0.0: | |
| version "2.3.0" | |
| resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.3.0.tgz#1a1d940bbfb916a1d3e0219f037e89e71f8c5fa5" | |
| integrity sha512-MOd8pV3fxENbryESLgVIeaGKrdl+uaYhCSSVkjeOb/31/njTpcis5aWfdqgNlHIrKOLRbMnfPINPOML2CIFeXA== | |
| octokat@^0.10.0: | |
| version "0.10.0" | |
| resolved "https://registry.yarnpkg.com/octokat/-/octokat-0.10.0.tgz#a56846178199f36ddfc8979c9749ffea65736508" | |
| integrity sha512-VJ21L1gMlByYMurduLYiOcI8AwlZkUV8OXRN8pMXsbkIqIVqn0tgdTfxzWM9spX4VJTTG02OgqwDTqQsOmDing== | |
| dependencies: | |
| fetch-vcr "^1.1.0" | |
| lodash "^4.16.4" | |
| node-fetch "^2.0.0" | |
| "safer-buffer@>= 2.1.2 < 3": | |
| version "2.1.2" | |
| resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" | |
| integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== | |
| underscore@^1.9.1: | |
| version "1.9.1" | |
| resolved "https://registry.yarnpkg.com/underscore/-/underscore-1.9.1.tgz#06dce34a0e68a7babc29b365b8e74b8925203961" | |
| integrity sha512-5/4etnCkd9c8gwgowi5/om/mYO5ajCaOgdzj/oW+0eQV9WxKBDZw5+ycmKmeaTXjInS/W0BzpGLo2xR2aBwZdg== | |
| whatwg-fetch@^2.0.3: | |
| version "2.0.4" | |
| resolved "https://registry.yarnpkg.com/whatwg-fetch/-/whatwg-fetch-2.0.4.tgz#dde6a5df315f9d39991aa17621853d720b85566f" | |
| integrity sha512-dcQ1GWpOD/eEQ97k66aiEVpNnapVj90/+R+SXTPYGHpYBBypfKJEQjLrvMZ7YXbKm21gXd4NcuxUTjiv1YtLng== |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment