yui3
YUI 3 Library on NodeJS
Last updated 14 years ago by reid .
BSD · Repository · Bugs · Original npm · Tarball · package.json
$ npm install yui3 
SYNC missed versions from official npm registry.

h1. YUI Bootstrapper for Node.js

The YUI3NodeJS project uses several 3rd party open source libraries and tools.

This file summarizes the tools used, their purpose, and the licenses under which they're released.

This node.js module attempts to setup and bootstrap a working YUI 3 instance.

This module includes support for remote script loading via Y.Get.script() and remote data fetching via Y.io.

See "JSDom Support" below for DOM manipulation.

h2. Node.js

All of the examples and tests assume you have @node@ in your path and they are all executable.

h2. Dependancies

"JSDom":http://github.com/tmpvar/jsdom : "LICENSE":http://github.com/tmpvar/jsdom/blob/master/LICENSE.txt "HTML Parser":http://github.com/tautologistics/node-htmlparser : "LICENSE":http://github.com/tautologistics/node-htmlparser/blob/master/LICENSE

h2. Installing - via NPM

npm install yui3

h2. Installing - as a developer

git clone git://github.com/davglass/nodejs-yui3.git
make dev
make install

h2. Using YUI3

"This is the general-dom example":http://gist.github.com/541501

h2. Using the Y.Browser object

To comply with the "no-globals" CommonJS spec, there is no global document or window in this mode. Just including the nodejs-dom module will create a fake dom for this instance. You can create a document like this: "View this Gist":http://gist.github.com/359776

You can make older DOM code run by setting up a couple of local variables, "like this":http://gist.github.com/359778

If you are using YUI to serve pages, you should use a Nested Use to create the document when the request comes in.

"Something like this":http://gist.github.com/359781

I have an example showing this: @examples/y-browser.js@

h2. Examples

    cd examples/
    ./general-dom.js
    ./io.js
    ./library.js
    ./y-brower.js

h2. Tests

When using JSDom, All relevent YUI 3 Dom & Selector tests pass. The ones that are skipped revolve around styles and postioning. Since there is no window or CSS cascade, these seem unimportant at the moment.

    cd ./tests/
    ./dom.js
    ./selector.js

h2. License

This software is offered under the terms of the BSD license. See the LICENSE file or the "YUI License":http://developer.yahoo.com/yui/license.html for license text and copyright information.

h2. Contribute

Your contributions are welcome! Please review the "YUI contributor guide":http://developer.yahoo.com/yui/community/#cla before contributing. If you haven't contributed to a "YUI project":http://yuilibrary.com before, you'll need to review and sign the "YUI CLA":http://developer.yahoo.com/yui/community/#cla before we can accept your pull request.

Current Tags

  • 0.7.12                                ...           latest (15 years ago)

53 Versions

  • 0.5.3                                ...           14 years ago
  • 0.5.2                                ...           14 years ago
  • 0.5.1                                ...           14 years ago
  • 0.5.0                                ...           14 years ago
  • 0.7.12                                ...           15 years ago
  • 0.7.11                                ...           15 years ago
  • 0.7.10                                ...           15 years ago
  • 0.7.9                                ...           15 years ago
  • 0.7.8                                ...           15 years ago
  • 0.7.7                                ...           15 years ago
  • 0.7.6                                ...           15 years ago
  • 0.7.5                                ...           15 years ago
  • 0.7.4                                ...           15 years ago
  • 0.7.3                                ...           15 years ago
  • 0.7.2                                ...           15 years ago
  • 0.7.1                                ...           15 years ago
  • 0.7.0                                ...           15 years ago
  • 0.6.5                                ...           15 years ago
  • 0.6.4                                ...           15 years ago
  • 0.6.3                                ...           15 years ago
  • 0.6.2                                ...           16 years ago
  • 0.6.1                                ...           16 years ago
  • 0.6.0                                ...           16 years ago
  • 0.5.34                                ...           16 years ago
  • 0.5.33                                ...           16 years ago
  • 0.5.32                                ...           16 years ago
  • 0.5.31                                ...           16 years ago
  • 0.5.30                                ...           16 years ago
  • 0.5.29                                ...           16 years ago
  • 0.5.28                                ...           16 years ago
  • 0.5.27                                ...           16 years ago
  • 0.5.26                                ...           16 years ago
  • 0.5.25                                ...           16 years ago
  • 0.5.24                                ...           16 years ago
  • 0.5.23                                ...           16 years ago
  • 0.5.22                                ...           16 years ago
  • 0.5.21                                ...           16 years ago
  • 0.5.20                                ...           16 years ago
  • 0.5.19                                ...           16 years ago
  • 0.5.18                                ...           16 years ago
  • 0.5.17                                ...           16 years ago
  • 0.5.16                                ...           16 years ago
  • 0.5.9                                ...           16 years ago
  • 0.5.8                                ...           16 years ago
  • 0.5.7                                ...           16 years ago
  • 0.5.6                                ...           16 years ago
  • 0.5.5                                ...           16 years ago
  • 0.5.4                                ...           16 years ago
  • 0.5.14                                ...           16 years ago
  • 0.5.13                                ...           16 years ago
  • 0.5.12                                ...           16 years ago
  • 0.5.11                                ...           16 years ago
  • 0.5.10                                ...           16 years ago
Maintainers (2)
Downloads
Total 177
Today 0
This Week 54
This Month 177
Last Day 0
Last Week 15
Last Month 0
Dependencies (2)
Dev Dependencies (0)
None
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE