teddit-reddit-frontend-alte.../node_modules/doctypes
teddit fdfcd554f8 initial commit 2020-11-17 21:44:32 +01:00
..
.npmignore initial commit 2020-11-17 21:44:32 +01:00
.travis.yml initial commit 2020-11-17 21:44:32 +01:00
HISTORY.md initial commit 2020-11-17 21:44:32 +01:00
LICENSE initial commit 2020-11-17 21:44:32 +01:00
README.md initial commit 2020-11-17 21:44:32 +01:00
index.js initial commit 2020-11-17 21:44:32 +01:00
package.json initial commit 2020-11-17 21:44:32 +01:00
test.js initial commit 2020-11-17 21:44:32 +01:00

README.md

doctypes

Shorthands for commonly used doctypes

Build Status NPM version

Installation

npm install doctypes

Usage

var assert = require('assert');
var doctypes = require('doctypes');

assert(doctypes['html'] === '<!DOCTYPE html>');
assert(doctypes['xml'] === '<?xml version="1.0" encoding="utf-8" ?>');

License

MIT