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

academia

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

academia

Tools for analyzing academic text


Version published
Maintainers
1
Created

academia

Tools for analyzing academic text.

npm install academia --save

Types

academia.CiteStyle

An enum:

Textual = 0
Parenthetical = 1
Alternate = 2

academia.Cite

{
  style: CiteStyle, // the citation style; 0, 1, or 2
  range?: [number, number], // the location of the citation within the paper
  reference?: Reference, // the full Reference that the Cite matches
}

academia.AuthorYearCite

Extends academia.Cite, and adds the following fields:

{
  authors: Name[], // usually only last names
  year: string, // most often a number, but may have a letter suffix
}

academia.Name

{
  first?: string,
  middle?: string,
  last: string,
}

academia.Reference

{
  authors: Name[], // the first / middle names will often be initialized
  year: string, // most often a number, but may have a letter suffix
  title: string,
  venue?: string, // journal / specific conference / website; may be abbreviated
  publisher?: string, // company name / conference
  pages?: [number, number],
}

academia.Paper

{
  sections: Section[],
  title?: string,
  authors?: Name[],
  year?: number,
  references?: Reference[],
  cites?: Cite[],
}

academia.Section

{
  title: string,
  paragraphs: string[],
}

License

Copyright 2015 Christopher Brown. MIT Licensed.

FAQs

Package last updated on 06 Mar 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts