New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

gulp-spdownload

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-spdownload

Gulp plugin to download files from SharePoint

latest
Source
npmnpm
Version
0.3.0
Version published
Maintainers
1
Created
Source

gulp-spdownload

Gulp plugin to download files from SharePoint

Install:

npm install gulp-spdownload

Usage:

var gulp = require('gulp');
var spdownload = require('gulp-spdownload');

// sensitive data
var settings = {
	siteUrl: 'https://mycompany.sharepoint.com',
	username: 'myaccount@mycompany.onmicrosoft.com',
	password: '12345'
};

var masterpages = [
	"/_catalogs/masterpage/seattle.master", 
	"/_catalogs/masterpage/oslo.master"
];

var layouts = [
	"/_catalogs/masterpage/DefaultLayout.aspx"
];

gulp.task('pull', function() {
	spdownload(settings, masterpages).pipe(gulp.dest('./masterpages'));
	spdownload(settings, layouts).pipe(gulp.dest('./layouts'));
});

Keywords

SharePoint

FAQs

Package last updated on 23 Mar 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