Skip to content

Commit 49c4822

Browse files
author
William Blankenship
committed
Add playground for node.js
1 parent dad8130 commit 49c4822

File tree

9 files changed

+24
-4
lines changed

9 files changed

+24
-4
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,8 @@ generateKeyPair(function(e, keyPair, encryptionKey) {
171171

172172
> Note: You only need to run this script once. Once you have these values, you should store them in a safe place, and provide them to your services instead of using your email and password.
173173
174+
To play with this example in an interactive playground, visit: https://runkit.com/wblankenship/storj-stdlib-keypair
175+
174176
## Upload a file
175177

176178
Once you have an encryption key and a private/public key, you are ready to start uploading data to the network, which happens to be incredibly easy!
@@ -204,3 +206,5 @@ createBucket(function(e, meta) {
204206
console.log(`Created file ${meta.fileId} in bucket ${meta.bucketId}`);
205207
});
206208
```
209+
210+
To play with this example in an interactive playground, visit: https://runkit.com/wblankenship/storj-stdlib-upload

bucket/README.md

+4
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,8 @@ generateKeyPair(function(e, keyPair, encryptionKey) {
171171

172172
> Note: You only need to run this script once. Once you have these values, you should store them in a safe place, and provide them to your services instead of using your email and password.
173173
174+
To play with this example in an interactive playground, visit: https://runkit.com/wblankenship/storj-stdlib-keypair
175+
174176
## Upload a file
175177

176178
Once you have an encryption key and a private/public key, you are ready to start uploading data to the network, which happens to be incredibly easy!
@@ -204,3 +206,5 @@ createBucket(function(e, meta) {
204206
console.log(`Created file ${meta.fileId} in bucket ${meta.bucketId}`);
205207
});
206208
```
209+
210+
To play with this example in an interactive playground, visit: https://runkit.com/wblankenship/storj-stdlib-upload

bucket/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "storj-stdlib-bucket",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "Manage buckets on the Storj network",
55
"author": "retrohacker <william.jblankenship@gmail.com>",
66
"private": true,

encryptionKey/README.md

+4
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,8 @@ generateKeyPair(function(e, keyPair, encryptionKey) {
171171

172172
> Note: You only need to run this script once. Once you have these values, you should store them in a safe place, and provide them to your services instead of using your email and password.
173173
174+
To play with this example in an interactive playground, visit: https://runkit.com/wblankenship/storj-stdlib-keypair
175+
174176
## Upload a file
175177

176178
Once you have an encryption key and a private/public key, you are ready to start uploading data to the network, which happens to be incredibly easy!
@@ -204,3 +206,5 @@ createBucket(function(e, meta) {
204206
console.log(`Created file ${meta.fileId} in bucket ${meta.bucketId}`);
205207
});
206208
```
209+
210+
To play with this example in an interactive playground, visit: https://runkit.com/wblankenship/storj-stdlib-upload

encryptionKey/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "storj-stdlib-encryptionkey",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "Manage keys for encrypting files on the Storj network",
55
"author": "retrohacker <william.jblankenship@gmail.com>",
66
"private": true,

file/README.md

+4
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,8 @@ generateKeyPair(function(e, keyPair, encryptionKey) {
171171

172172
> Note: You only need to run this script once. Once you have these values, you should store them in a safe place, and provide them to your services instead of using your email and password.
173173
174+
To play with this example in an interactive playground, visit: https://runkit.com/wblankenship/storj-stdlib-keypair
175+
174176
## Upload a file
175177

176178
Once you have an encryption key and a private/public key, you are ready to start uploading data to the network, which happens to be incredibly easy!
@@ -204,3 +206,5 @@ createBucket(function(e, meta) {
204206
console.log(`Created file ${meta.fileId} in bucket ${meta.bucketId}`);
205207
});
206208
```
209+
210+
To play with this example in an interactive playground, visit: https://runkit.com/wblankenship/storj-stdlib-upload

file/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "storj-stdlib-file",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "Manage files on the Storj network",
55
"author": "retrohacker <william.jblankenship@gmail.com>",
66
"private": true,

keyPair/README.md

+4
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,8 @@ generateKeyPair(function(e, keyPair, encryptionKey) {
171171

172172
> Note: You only need to run this script once. Once you have these values, you should store them in a safe place, and provide them to your services instead of using your email and password.
173173
174+
To play with this example in an interactive playground, visit: https://runkit.com/wblankenship/storj-stdlib-keypair
175+
174176
## Upload a file
175177

176178
Once you have an encryption key and a private/public key, you are ready to start uploading data to the network, which happens to be incredibly easy!
@@ -204,3 +206,5 @@ createBucket(function(e, meta) {
204206
console.log(`Created file ${meta.fileId} in bucket ${meta.bucketId}`);
205207
});
206208
```
209+
210+
To play with this example in an interactive playground, visit: https://runkit.com/wblankenship/storj-stdlib-upload

keyPair/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "storj-stdlib-keypair",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "Manage keys for authenticating on the Storj network",
55
"author": "retrohacker <william.jblankenship@gmail.com>",
66
"private": true,

0 commit comments

Comments
 (0)