Skip to content

Instantly share code, notes, and snippets.

@iamandrewluca iamandrewluca/index.js
Last active Jul 26, 2019

What would you like to do?
Open DefinitelyTyped package definitions
const link = document.createElement('a');
const packageName = window.prompt('Package name');
if (packageName) {
link.href = '' + packageName;
} else {
link.href = '';
} = '_blank';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.