Skip to content

Instantly share code, notes, and snippets.

View alhazmy13's full-sized avatar
👽
keep calm and work hard

Abdullah Alhazmy alhazmy13

👽
keep calm and work hard
View GitHub Profile
@alhazmy13
alhazmy13 / index.js
Created February 13, 2019 08:41 — forked from MoOx/index.js
Export/import github labels
// go on you labels pages
// eg https://github.com/cssnext/cssnext/labels
// paste this script in your console
// copy the output and now you can import it using https://github.com/popomore/github-labels !
var labels = [];
[].slice.call(document.querySelectorAll(".label-link"))
.forEach(function(element) {
labels.push({
name: element.textContent.trim(),