node package manager

doctypes

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