@kgarza/citeproc-doi
v0.0.1
Published
Nodejs server for formatted citation of dois
Readme
DOI Formating service (citeproc)
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-serverYou can now point your browser to http://localhost:8000 and use the application.

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 /stylesrespectively
GET /localesDevelopment
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.
