This package exposes a module that provides all of the tools needed to integrate with the Storj network. You must have Node.js v6.9.1, Python v2.x.x, and Git installed. Complete documentation can be found here.
npm install storj-lib --save
If you want access to the Storj CLI, you must install it separately or use the
storj
metapackage to install both the core library and command line interface.
- Example 1 - Creating a User
- Example 2 - Generating a KeyPair
- Example 3 - Authenticating with a KeyPair
- Example 4 - Listing Keys
- Example 4b - Add/Remove Keys
- Example 5a - List Buckets
- Example 5b - Add/Remove Bucket
- Example 6a - Upload File
- Example 6b - Download File
- Example 6c - List Bucket Files
- Example 6d - Delete File from Bucket
Storj Core - Implementation of the Storj protocol for Node.js Copyright (C) 2016 Storj Labs, Inc
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Certain parts of this program are licensed under the GNU Lesser General Public License as published by the Free Software Foundation. You can redistribute it and/or modify it under the terms either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see http://www.gnu.org/licenses/.