https://github.com/pugjs/doctypes
Shorthands for commonly used doctypes
https://github.com/pugjs/doctypes
Last synced: 20 days ago
JSON representation
Shorthands for commonly used doctypes
- Host: GitHub
- URL: https://github.com/pugjs/doctypes
- Owner: pugjs
- License: mit
- Created: 2015-01-22T13:21:36.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2024-08-16T09:15:13.000Z (11 months ago)
- Last Synced: 2025-06-01T08:10:43.236Z (30 days ago)
- Language: JavaScript
- Homepage:
- Size: 5.86 KB
- Stars: 10
- Watchers: 11
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
# doctypes
Shorthands for commonly used doctypes
[](https://travis-ci.org/pugjs/doctypes)
[](https://www.npmjs.org/package/doctypes)## Installation
npm install doctypes
## Usage
```js
var assert = require('assert');
var doctypes = require('doctypes');assert(doctypes['html'] === '');
assert(doctypes['xml'] === '');
```## License
MIT