0.1.4 • Published 12 years ago
sp2010-rest v0.1.4
sp2010-rest 
Connect middleware that simulates the SharePoint 2010 RESTful interface.
Getting Started
- Install the module with:
npm install sp2010-rest - Create a static
.jsonfile with a sample REST output the list you'd like to emulate. - Pass
sp2010-restinto an Express server as middleware, telling it where to find those.jsonfiles.
var connect = require('connect');
var sp2010rest = require('sp2010-rest');
var app = connect()
.use(sp2010rest(connect, 'lists')) // prioritise REST emulation above your other routes
.use(connect.static('public'))
.listen(3000);Here's a gist showing how you might use sp2010-rest with Grunt in a Yeoman project.
License
Copyright (c) 2013 Kevin Attfield. Licensed under the MIT license.