Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

node.js and npm support #53

Closed
donpark opened this issue Mar 16, 2011 · 13 comments
Closed

node.js and npm support #53

donpark opened this issue Mar 16, 2011 · 13 comments
Labels

Comments

@donpark
Copy link

donpark commented Mar 16, 2011

How is handlebars.js expected to be used in node.js?

I see that object handlebars is being exported as exports.parser but the full Handlebars functionality as documented is only implemented only by Handlebars object.

Is there a reason why it's this way? Also, Is there a reason why handlebars.js is not a npm package?

@jcohen
Copy link

jcohen commented Apr 10, 2011

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?

@luccastera
Copy link

It would be nice if handlebar was an npm package that we can easily use with node.js

@feelepxyz
Copy link

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.

@ghost
Copy link

ghost commented May 17, 2011

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 :)

@jblotus
Copy link
Contributor

jblotus commented May 30, 2011

+1

@jcohen
Copy link

jcohen commented May 31, 2011

I submitted a pull request for this: #90, please let me know if something seems wrong/out of place!

@ghost
Copy link

ghost commented Jun 3, 2011

Cool .. merge it!

@geddski
Copy link

geddski commented Aug 1, 2011

Please do add this

@nalanj
Copy link
Contributor

nalanj commented Aug 16, 2011

I'm marking this a duplicate of #90.

@nalanj nalanj closed this as completed Aug 16, 2011
@jcohen
Copy link

jcohen commented Aug 18, 2011

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...

@nalanj
Copy link
Contributor

nalanj commented Sep 1, 2011

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.

@salomons
Copy link

Looking forward to 1.0 and a package for node. ;)

@EntitySpaces
Copy link

Did this ever get completed, is Handlesbars easily support under node.js?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

9 participants