Socket
Socket
Sign inDemoInstall

mla-node-gen

Package Overview
Dependencies
20
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    mla-node-gen

Create MLA papers in JavaScript


Version published
Maintainers
1
Created

Readme

Source

MLA Node Gen

The MLA formatted PDF generator.

Installation

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

$ npm install mla-node-gen

Usage

In NodeJS:

const { Doc, Paragraph } = require("mla-node-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 Node 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

Last updated on 09 Mar 2022

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc