New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

contentpull-backup

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

contentpull-backup

A Contentpull extension for creating a local backup of your space and contents.

1.0.0
latest
Source
npm
Version published
Maintainers
1
Created
Source

contentpull-backup

Used to create a local backup of a space with contentpull.

Download

You can download contentpull-backup via npm.

npm i contentpull-backup --save

Installation

contentpull-backup extends into *contentpull directly.

const Contentpull = require('contentpull');
Contentpull.use(require('contentpull-backup'));

How to use

The backup process runs pretty easily. Simply create a new client with your spaceid and the apikey. After that, run the backup process by calling it on the client with a parameter informing the backup system where to save the file.

const puller = new Contentpull('spaceid', 'apikey');
puller.backup('./backup.json').then(() => {
    console.log('backup complete!');
})

Parameters

  • saveLocation (String) - Where to save the file. It is wrapped in path.resolve so you can use a local location.

Keywords

contentpull

FAQs

Package last updated on 27 Jun 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts