Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

express-wikimedia-collections

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

express-wikimedia-collections - npm Package Compare versions

Comparing version 0.9.1 to 0.9.2

package-lock.json

2

collection/edit.js

@@ -7,3 +7,3 @@ const edit = require('./edit-page');

var imageString = image ? '[[' + image + '|320px]]' : '';
var coordString = `{{#coordinates:${lat}|${lon}}}}`;
var coordString = `{{#coordinates:${lat}|${lon}}}`;
var body = [ '\'\'\'' + title + '\'\'\'', '', description, '', imageString,

@@ -10,0 +10,0 @@ coordString ].join( '\n' );

{
"name": "express-wikimedia-collections",
"version": "0.9.1",
"version": "0.9.2",
"description": "Provides API to update and maintain collections of pages, stored as wiki pages on a wikimedia project.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -7,4 +7,13 @@

const init = require( 'express-wikimedia-collections' )
init( app, '/api', 'wikipedia', 'en' );
init( app, '/api', 'wikivoyage', 'en' );
```
Exposes the following APIS:
* /api/collection/
* /api/collection/by/:username
* /api/collection/by/:username/:id
* /api/private/collection/:id/:action/:title (action=create,has,with,add,remove,edit)
Lists are stored publically as pages @ en.wikivoyage.org/wiki/User<:user>/lists/<:id>
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc