0.1.4 • Published 11 years ago

sp2010-rest v0.1.4

Weekly downloads
5
License
-
Repository
github
Last release
11 years ago

sp2010-rest Build Status

Connect middleware that simulates the SharePoint 2010 RESTful interface.

Getting Started

  1. Install the module with: npm install sp2010-rest
  2. Create a static .json file with a sample REST output the list you'd like to emulate.
  3. Pass sp2010-rest into an Express server as middleware, telling it where to find those .json files.
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.

0.1.4

11 years ago

0.1.3

11 years ago

0.1.2

11 years ago

0.1.1

11 years ago

0.1.0

11 years ago