Name Last Update
..
detect-libc Loading commit data...
.npmignore Loading commit data...
.travis.yml Loading commit data...
HISTORY.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
index.js Loading commit data...
package.json Loading commit data...
test.js Loading commit data...

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