Socket
Socket
Sign inDemoInstall

yui-repl

Package Overview
Dependencies
124
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    yui-repl

YUI 3 Powered REPL


Version published
Weekly downloads
1
decreased by-50%
Maintainers
1
Install size
30.0 MB
Created
Weekly downloads
 

Readme

Source

YUI REPL

A NodeJS REPL environment preloaded with a Y variable populated by a YUI sandbox.

Install

npm install yui-repl

Usage

yui3

Commands

.import {url} Import this url into the REPL context and bind Y to the DOM.

    .import http://yuilibrary.com/
    .import http://twitter.com/
    .import http://yahoo.com/

.use {modules,to,use} Modules to load into to the Y context inside the REPL

    .use dd
    .use yql,io
    .use jsonp,io

.io {url} Make an IO request to the passed URL

    .io https://graph.facebook.com/davglass
    .io http://yuilibrary.com/gallery/api/show/yql

.headers {url} Make an IO request to the passed URL and return the headers

    .headers https://graph.facebook.com/davglass
    .headers http://yuilibrary.com/gallery/api/show/yql

.yql {sql} Make an YQL request with the passed SQL statement

    .yql select * from weather.forecast where location=90210
    .yql select * from flickr.photos.recent

.debug Toggle the debug config on the YUI instance, outputs the new debug setting.

    .debug

Screencast

Here is a simple little screencast of it in action: View Video

FAQs

Last updated on 01 Oct 2012

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc