docloop-paperhive-adapter

1.0.1 • Public • Published

PaperhiveAdapter

This package is meant to be used with docloop.

Install like this:

npm install docloop-paperhive-adapter

Use like this (see docloop):

var PaperhiveAdapter = require('docloop-paperhive-adapter').PaperhiveAdapter 

docloopCore
.use(PaperhiveAdapter,{
  name:             	"PaperHive",
  home:             	'https://paperhive.org',
  contentLink:			'https://paperhive.org/documents/items/%s',
  discussionsLink:		'https://paperhive.org/api/discussions?document=%s',
  documentLinkById:		'https://paperhive.org/api/document-items/by-document/%s',
  documentLinkByIemId:	'https://paperhive.org/api/document-items/%s',
  extraEndpoints:    	true,
  scanningInterval:  	60*60*1000
})

Here's the documentation: docloopDocs

Readme

Keywords

Package Sidebar

Install

npm i docloop-paperhive-adapter

Weekly Downloads

0

Version

1.0.1

License

GPL-3.0

Unpacked Size

49.5 kB

Total Files

5

Last publish

Collaborators

  • rhotep