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

mla-gen

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mla-gen

Create MLA papers in JavaScript

  • 1.0.1
  • unpublished
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

MLA Gen

The MLA formatted PDF generator.

Installation

This is an NPM package, so it can simply be installed like this:

$ npm install mla-gen

Usage

In NodeJS:

const { Doc, Paragraph } = require("mla-gen");

const  doc = new  Doc({
	title:  "Example PDF",
	user:  "Rick Astley",
	instructor:  "Dwayne Johnson",
	course:  "Dying 101",
	duedate:  "22 February 2022"
});

const  paragraph1 = new  Paragraph(`According to all known laws of aviation...`);
const  paragraph2 = new  Paragraph(`We've known eachother for so long...`);
const  paragraph3 = new  Paragraph(`Somebody once told me the world is gonna roll me...`);

doc.addParagraph(paragraph1);
doc.addParagraph(paragraph2);
doc.addParagraph(paragraph3);

doc.export("example.pdf");

Why use MLA Gen?

For those who are just a little too good for Google Docs or Microsoft Word, but won't stoop down to handwriting PDF code, this package is a quick and easy way to create PDF documents formatted in the most popular format.

Keywords

FAQs

Package last updated on 03 Mar 2022

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc