@mmpg-soft/sci-sources
v1.0.3
Published
Cite your sources in a scientific way
Downloads
1
Readme
About The Project
This project emanates from the need to cite sources in a scientific manner. The package supports all kind of publication types:
- Books
- Chapter or other part of a book
- Conference proceedings
- Conference papers
- Journal article
- Websites
Built With
- Typescript v5
Prerequisites
- node v12 and up
Installation
npm install @mmpg-soft/sci-sources
Usage
Usage is fairly straitforward. Import the following methods as needed:
import { formatBookSource } from "@mmpg-soft/sci-sources";
import { formatBookPartSource } from "@mmpg-soft/sci-sources";
import { formatConferencePapersSource } from "@mmpg-soft/sci-sources";
import { formatConferenceproceedingsSource } from "@mmpg-soft/sci-sources";
import { formatJournalArticleSource } from "@mmpg-soft/sci-sources";
import { formatWebSource } from "@mmpg-soft/sci-sources";
Each method takes two arguments: source
(mandatory) and key
(optional).
The key
will be formatted and added to the citation in order act as a reference to your citation.
The source
has a type for each method, check it before using it.
See the open issues for a full list of proposed features (and known issues).
Catch me online
Mikael - @mikgross195357 - Bento.me/mikael-gross