@kgarza/citeproc-doi

0.0.1 • Public • Published

DOI Formating service (citeproc)

Build Status

An online tool for formatting DOIs from a DataCite, CrossRef, mEDRA, and in various styles. It allows user to format DOIs bilbiographic information in the desired format. It uses content negotiation to get the "application/vnd.citationstyles.csl+json" representation of a DOI. With the default dx.doi.org resolver this is supported by all DataCite and CrossRef DOIs.

Installation

Using Docker.

docker run -p 8000:80 crosscite/citeproc-doi-server

You can now point your browser to http://localhost:8000 and use the application.

Screenshot

API

Additionally you can use the server as a API. You can format a given DOI via

    GET /format?doi=<doi>&style=<style>&lang=<locale>

or format a given citeproc text via

    POST /format?style=<style>&lang=<lang>

This requires a body with Content-Type:application/vnd.citationstyles.csl+json.

The style and lang parameters are optional. A list of allowed values is given by

    GET /styles

respectively

    GET /locales

Development

Follow along via Github Issues.

Note on Patches/Pull Requests

  • Fork the project
  • Write tests for your new feature or a test that reproduces a bug
  • Implement your feature or make a bug fix
  • Do not mess with Rakefile, version or history
  • Commit, push and make a pull request. Bonus points for topical branches.

License

citeproc-doi-server is released under the MIT License.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.1
    1

Package Sidebar

Install

npm i @kgarza/citeproc-doi

Weekly Downloads

1

Version

0.0.1

License

ISC

Last publish

Collaborators

  • kgarza