Last active
June 2, 2020 11:29
-
-
Save fson/974862573c61520268e77b209e01878e to your computer and use it in GitHub Desktop.
terminal-link-repro
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
#!/usr/bin/env node | |
const terminalLink = require('terminal-link'); | |
console.log(); | |
console.log('# Link'); | |
console.log(terminalLink("I'm a link, click me.", 'https://expo.fyi/manifest-url')); | |
console.log(); | |
console.log('# URL:'); | |
console.log("Here's a URL: https://expo.fyi/manifest-url"); | |
console.log(); | |
console.log('# Link that looks like a URL'); | |
console.log(`Here's another link: ${terminalLink('https://expo.fyi/manifest-url', 'https://expo.fyi/manifest-url')}`); | |
console.log(); |
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": "terminal-link-repro", | |
"version": "0.0.1", | |
"bin": "./index.js", | |
"license": "MIT", | |
"dependencies": { | |
"terminal-link": "^2.1.1" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment