customcommander / customcommander/ris

toCSLJSON / fromCSLJSON

Open
#46 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Gherkin
Stars
1
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Example:

```javascript
RIS.toCSLJSON(`
TY - JOUR
TI - Foobar
ER -
`)
//=> [{"type": "article-journal", "title": "Foobar"}]

RIS.fromCSLJSON([{"type": "article-journal", "title": "Foobar"}]);
//=> `TY - JOUR
//=> TI - Foobar
//=> ER -`
```

Why?

CSL JSON has become a _de facto_ standard for CSL processors input. This feature is potentially useful.

Notes

- [ ] CSL JSON in & out _MUST_ be validated. Here's the schema for it https://github.com/citation-style-language/schema/blob/master/schemas/input/csl-data.json

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.