Comments (13)
Also curious about this? I end up having to make a whole bunch of tweaks to get handlebars running in node (changing require to be relative, etc). Would be nice if it worked properly out of the box, but I'm unclear if it's intentional for some other usage, or if it's just a bug?
from handlebars.js.
It would be nice if handlebar was an npm package that we can easily use with node.js
from handlebars.js.
Would be awesome if you could pre-compile your templates with node and push them out as functions available in some handlebars template object. I know the Jammit-asset-packager does something like this with underscore templates.
from handlebars.js.
Yeah .. please make this to a npm module so we can use it on node.js.
It's gonna make it more popular and more are going to contribute :)
from handlebars.js.
+1
from handlebars.js.
I submitted a pull request for this: #90, please let me know if something seems wrong/out of place!
from handlebars.js.
Cool .. merge it!
from handlebars.js.
Please do add this
from handlebars.js.
I'm marking this a duplicate of #90.
from handlebars.js.
Any idea of when #90 will be pulled? Others have recommended I publish this to NPM on my own, but I'm wary of doing that, especially if you guys will take ownership over it in short order...
from handlebars.js.
There's actually an NPM package up now that someone else posted. We'll get an official package up by the time we release 1.0.
from handlebars.js.
Looking forward to 1.0 and a package for node. ;)
from handlebars.js.
Did this ever get completed, is Handlesbars easily support under node.js?
from handlebars.js.
Related Issues (20)
- Removal of dependency on wordwrap library HOT 2
- Trying to get in touch regarding a security issue HOT 1
- Is it possible to disable control flow statements?
- result of template({}) is cached
- Rendering precompiled templates on the server, runtime export HOT 1
- Link Issue HOT 1
- Partials are too slow
- Add automated fuzzing HOT 2
- Use type `Record<string, any>` for `HelperOptions.hash` HOT 1
- Why on earth would you write something without as as basic a thing as a conditional like if/then/else??? HOT 1
- how to insert `{{xxx}}}`
- Add access to current json selection key in helpers (expressions and blocks) HOT 1
- vulnerable version of uglify-js: 3.1.4 HOT 1
- Enhance `showPosition()` to Accurately Display Error Position by Line Number HOT 13
- www.handlebarsjs.com is giving me an SSL error (without www is working fine) HOT 1
- pass variables to precompiled template
- Extra } not part of template causing errors HOT 1
- Compatibility Issue with `robloach/component-installer` and Composer 2.x HOT 1
- Extend Each helper's support for Maps using `as | value key |`
- Whitespace control in one {{else if}} branch also affects a different branch
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from handlebars.js.