https://github.com/linkedin/dustjs
Asynchronous Javascript templating for the browser and server
https://github.com/linkedin/dustjs
Last synced: 7 months ago
JSON representation
Asynchronous Javascript templating for the browser and server
- Host: GitHub
- URL: https://github.com/linkedin/dustjs
- Owner: linkedin
- License: mit
- Created: 2012-03-23T22:20:39.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2023-10-24T12:07:03.000Z (about 2 years ago)
- Last Synced: 2025-04-30T07:45:08.871Z (7 months ago)
- Language: JavaScript
- Homepage: http://dustjs.com
- Size: 9.82 MB
- Stars: 2,917
- Watchers: 130
- Forks: 475
- Open Issues: 83
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-frontend - Dust.js - Linkedin维护的项目
- awesome-frontend - Dust.js - Linkedin维护的项目
- awesome-front-end - Dust.js - Linkedin维护的项目
README
# Dust.js [](http://travis-ci.org/linkedin/dustjs) [](https://saucelabs.com/u/dustjs)
Asynchronous Javascript templating for the browser and server. This fork is maintained by [LinkedIn](http://linkedin.github.io/).
## Install
### NPM
**Important**: We recommend that you lock your version of Dust to a specific minor version, instead of a major version. By default, NPM will add `"dustjs-linkedin": "^2.x.y"` to your package.json, which will install new minor versions automatically.
npm install --save --production dustjs-linkedin
# If you want the dustc compiler available globally
npm install --global --production dustjs-linkedin
If you want to add the [Dust helpers](https://github.com/linkedin/dustjs-helpers) or [secure filters](https://github.com/linkedin/dustjs-filters-secure):
npm install --save --production dustjs-helpers
### Bower
bower install --save dustjs-linkedin
## Get Started
* Read [dustjs.com](http://www.dustjs.com/) for guides, tutorials, and documentation.
* Check out the `examples/` directory in the repo for simple examples to help you get started using Dust in a variety of ways.
## Contribute
* The team provides support on [Stack Overflow](https://stackoverflow.com/questions/tagged/dust.js), so that's the best place to ask questions.
* Bug or feature? We welcome issues and pull requests! If you'd like to submit a PR, check out the guide to [contributing](https://github.com/linkedin/dustjs/wiki/Contributing). PRs should include unit tests.