Skip to content

Instantly share code, notes, and snippets.

@lucasmazza
Created August 31, 2011 01:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lucasmazza/1182631 to your computer and use it in GitHub Desktop.
Save lucasmazza/1182631 to your computer and use it in GitHub Desktop.
Testing a stylus installation.
$ node -e 'require("stylus")'
{ [Function: render]
  version: '0.15.1',
  nodes: 
   { Node: [Function: Node],
     Root: [Function: Root],
     Null: [Function: Null],
     Each: [Function: Each],
     If: [Function: If],
     Call: [Function: Call],
     Page: [Function: Page],
     UnaryOp: [Function: UnaryOp],
     BinOp: [Function: BinOp],
     Ternary: [Function: Ternary],
     Block: [Function: Block],
     Unit: [Function: Unit],
     String: [Function: String],
     HSLA: { [Function: HSLA] fromRGBA: [Function] },
     RGBA: { [Function: RGBA] withoutClamping: [Function], fromHSLA: [Function] },
     Ident: [Function: Ident],
     Group: [Function: Group],
     Literal: [Function: Literal],
     JSLiteral: [Function: JSLiteral],
     Boolean: [Function: Boolean],
     Return: [Function: Return],
     Media: [Function: Media],
     Params: [Function: Params],
     Comment: [Function: Comment],
     Keyframes: [Function: Keyframes],
     Charset: [Function: Charset],
     Import: [Function: Import],
     Function: [Function: Function],
     Property: [Function: Property],
     Selector: [Function: Selector],
     Expression: [Function: Expression],
     Arguments: { [Function: Arguments] fromExpression: [Function] },
     true: [Boolean true],
     false: [Boolean false],
     null: null },
  functions: 
   { hsla: [Function: hsla],
     hsl: [Function: hsl],
     'type-of': [Function: type],
     typeof: [Function: type],
     type: [Function: type],
     component: [Function: component],
     red: [Function: red],
     green: [Function: green],
     blue: [Function: blue],
     rgba: [Function: rgba],
     rgb: [Function: rgb],
     unquote: [Function: unquote],
     unit: [Function: unit],
     lookup: [Function: lookup],
     operate: [Function: operate],
     match: [Function: match],
     length: { [Function: length] raw: true },
     p: { [Function: p] raw: true },
     error: [Function: error],
     warn: [Function: warn],
     trace: [Function: trace],
     append: { [Function] raw: true },
     push: { [Function] raw: true },
     prepend: { [Function] raw: true },
     unshift: { [Function] raw: true },
     s: { [Function: s] raw: true },
     'opposite-position': { [Function: oppositePosition] raw: true },
     'image-size': [Function: imageSize],
     '-math': [Function: math],
     '-math-prop': [Function: math],
     js: [Function: js],
     '-adjust': [Function: adjust],
     clone: { [Function: clone] raw: true },
     'add-property': { [Function: addProperty] raw: true } },
  utils: 
   { absolute: [Function],
     lookup: [Function],
     formatException: [Function],
     assertType: [Function],
     assertString: [Function],
     assertColor: [Function],
     assertPresent: [Function],
     unwrap: [Function],
     params: [Function],
     merge: [Function] },
  middleware: [Function],
  Visitor: [Function: Visitor],
  Parser: [Function: Parser],
  Evaluator: [Function: Evaluator],
  convertCSS: [Function],
  render: [Function],
  url: [Function] }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment