hexo/node_modules/doctypes
jkjoy 9a9cb42f53 20231003 update 2023-10-03 11:14:36 +08:00
..
.npmignore 20231003 update 2023-10-03 11:14:36 +08:00
.travis.yml 20231003 update 2023-10-03 11:14:36 +08:00
HISTORY.md 20231003 update 2023-10-03 11:14:36 +08:00
LICENSE 20231003 update 2023-10-03 11:14:36 +08:00
README.md 20231003 update 2023-10-03 11:14:36 +08:00
index.js 20231003 update 2023-10-03 11:14:36 +08:00
package.json 20231003 update 2023-10-03 11:14:36 +08:00
test.js 20231003 update 2023-10-03 11:14:36 +08: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