Skip to content

Instantly share code, notes, and snippets.

@mogelbrod
Created July 12, 2017 10:51
Show Gist options
  • Save mogelbrod/2b0dc06094fae5ce460889d89bec5c62 to your computer and use it in GitHub Desktop.
Save mogelbrod/2b0dc06094fae5ce460889d89bec5c62 to your computer and use it in GitHub Desktop.
import tiny-cookie === undefined
import cookie from 'tiny-cookie'
console.log(cookie)
{
"name": "test-cookie",
"version": "1.0.0",
"description": "",
"main": "index.js",
"dependencies": {
"babel-cli": "6.24.1",
"babel-preset-es2015": "6.24.1",
"tiny-cookie": "2.0.1"
},
"devDependencies": {},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC"
}
#!/bin/sh
npm install
babel-node index.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment