Skip to content

Commit adbd46f

Browse files
save usa-state-capitals-ts.nnb in new TS notebooks format (#124)
1 parent 0401997 commit adbd46f

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"cells": [
3+
{
4+
"language": "markdown",
5+
"source": [
6+
"# USA State Capitals TypeScript Notebook"
7+
],
8+
"outputs": []
9+
},
10+
{
11+
"language": "typescript",
12+
"source": [
13+
"import fs from 'fs';\r\nconst geoJson = fs.readFileSync('../data/usa-state-capitals.geojson', 'utf-8');\r\nconst { display } = require('node-kernel');\r\ndisplay.text(geoJson);"
14+
],
15+
"outputs": []
16+
}
17+
]
18+
}

0 commit comments

Comments
 (0)