Advertisement
Guest User

n-log

a guest
Jul 9th, 2014
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 33.90 KB | None | 0 0
  1. 0 info it worked if it ends with ok
  2. 1 verbose cli [ 'node',
  3. 1 verbose cli '/usr/local/lib/node_modules/npm/cli.js',
  4. 1 verbose cli 'install',
  5. 1 verbose cli 'ronn',
  6. 1 verbose cli '--no-global' ]
  7. 2 info using npm@1.4.9
  8. 3 info using node@v0.10.29
  9. 4 verbose node symlink /usr/local/bin/node
  10. 5 warn package.json github-url-from-git@1.1.1 No repository field.
  11. 6 warn package.json ronn@0.4.0 'repositories' (plural) Not supported. Please pick one as the 'repository' field
  12. 7 verbose readDependencies using package.json deps
  13. 8 verbose cache add [ 'ronn', null ]
  14. 9 verbose cache add name=undefined spec="ronn" args=["ronn",null]
  15. 10 verbose parsed url { protocol: null,
  16. 10 verbose parsed url slashes: null,
  17. 10 verbose parsed url auth: null,
  18. 10 verbose parsed url host: null,
  19. 10 verbose parsed url port: null,
  20. 10 verbose parsed url hostname: null,
  21. 10 verbose parsed url hash: null,
  22. 10 verbose parsed url search: null,
  23. 10 verbose parsed url query: null,
  24. 10 verbose parsed url pathname: 'ronn',
  25. 10 verbose parsed url path: 'ronn',
  26. 10 verbose parsed url href: 'ronn' }
  27. 11 silly lockFile 806e3618-ronn ronn
  28. 12 verbose lock ronn /Users/cosmos/.npm/806e3618-ronn.lock
  29. 13 silly lockFile 806e3618-ronn ronn
  30. 14 silly lockFile 806e3618-ronn ronn
  31. 15 verbose addNamed [ 'ronn', '' ]
  32. 16 verbose addNamed [ null, '*' ]
  33. 17 silly lockFile 6e289111-ronn ronn@
  34. 18 verbose lock ronn@ /Users/cosmos/.npm/6e289111-ronn.lock
  35. 19 silly addNameRange { name: 'ronn', range: '*', hasData: false }
  36. 20 verbose url raw ronn
  37. 21 verbose url resolving [ 'https://registry.npmjs.org/', './ronn' ]
  38. 22 verbose url resolved https://registry.npmjs.org/ronn
  39. 23 info trying registry request attempt 1 at 16:05:11
  40. 24 verbose etag "CLWNPKO2YUMMVU9CLN5MD63AU"
  41. 25 http GET https://registry.npmjs.org/ronn
  42. 26 http 304 https://registry.npmjs.org/ronn
  43. 27 silly registry.get cb [ 304,
  44. 27 silly registry.get { date: 'Wed, 09 Jul 2014 20:05:12 GMT',
  45. 27 silly registry.get server: 'Apache',
  46. 27 silly registry.get via: '1.1 varnish',
  47. 27 silly registry.get 'last-modified': 'Wed, 09 Jul 2014 20:05:12 GMT',
  48. 27 silly registry.get 'cache-control': 'max-age=30',
  49. 27 silly registry.get etag: '"CLWNPKO2YUMMVU9CLN5MD63AU"',
  50. 27 silly registry.get 'x-served-by': 'cache-jfk1022-JFK',
  51. 27 silly registry.get 'x-cache': 'MISS',
  52. 27 silly registry.get 'x-cache-hits': '0',
  53. 27 silly registry.get 'x-timer': 'S1404936312.045592,VS0,VE12',
  54. 27 silly registry.get vary: 'Accept',
  55. 27 silly registry.get 'content-length': '0',
  56. 27 silly registry.get 'keep-alive': 'timeout=10, max=50',
  57. 27 silly registry.get connection: 'Keep-Alive' } ]
  58. 28 verbose etag ronn from cache
  59. 29 silly addNameRange number 2 { name: 'ronn', range: '*', hasData: true }
  60. 30 silly addNameRange versions [ 'ronn',
  61. 30 silly addNameRange [ '0.3.3', '0.3.4', '0.3.5', '0.3.6', '0.3.7', '0.3.8', '0.4.0' ] ]
  62. 31 verbose addNamed [ 'ronn', '0.4.0' ]
  63. 32 verbose addNamed [ '0.4.0', '0.4.0' ]
  64. 33 silly lockFile 6b8c1e27-ronn-0-4-0 ronn@0.4.0
  65. 34 verbose lock ronn@0.4.0 /Users/cosmos/.npm/6b8c1e27-ronn-0-4-0.lock
  66. 35 silly lockFile 6b8c1e27-ronn-0-4-0 ronn@0.4.0
  67. 36 silly lockFile 6b8c1e27-ronn-0-4-0 ronn@0.4.0
  68. 37 silly lockFile 6e289111-ronn ronn@
  69. 38 silly lockFile 6e289111-ronn ronn@
  70. 39 silly resolved [ { name: 'ronn',
  71. 39 silly resolved version: '0.4.0',
  72. 39 silly resolved description: 'markdown to roff and html converter',
  73. 39 silly resolved keywords: [ 'markdown', 'roff', 'man', 'documentation' ],
  74. 39 silly resolved main: 'lib/ronn',
  75. 39 silly resolved directories: { lib: 'lib' },
  76. 39 silly resolved engines: { node: '>=0.4' },
  77. 39 silly resolved bin: { ronn: './bin/ronn.js' },
  78. 39 silly resolved dependencies: { opts: '>=1.2.0', markdown: '>=0.4.0' },
  79. 39 silly resolved contributors: [ [Object], [Object] ],
  80. 39 silly resolved licenses: [ [Object] ],
  81. 39 silly resolved repositories: [ [Object] ],
  82. 39 silly resolved readme: 'ronnjs(1) -- markdown to roff/html converter\n=======================================\n\n## Synopsis\n\nJavascript port of [ronn], using [markdown-js] to produce roff man pages.\nNot fully compatible with [ronn], although it aims to be, wherever possible.\n\n## Usage\n\nThis outputs doc.roff from a markdown file :\n\n\tronn.js --build --roff doc.md\n\nCommand-line options are listed with --help\n\nWhen file argument is omitted, ronn.js reads standard input.\n\n\n## How it works ?\n\n[markdown-js] parses markdown text to a document model, which in turn is\nused to ouput a man page.\n\n\n[ronn]: \t\thttp://github.com/rtomayko/ronn\n[markdown-js]:\thttp://github.com/evilstreak/markdown-js\n',
  83. 39 silly resolved readmeFilename: 'README.md',
  84. 39 silly resolved repository: { type: 'git', url: 'http://github.com/kapouer/ronnjs' },
  85. 39 silly resolved bugs: { url: 'https://github.com/kapouer/ronnjs/issues' },
  86. 39 silly resolved homepage: 'https://github.com/kapouer/ronnjs',
  87. 39 silly resolved _id: 'ronn@0.4.0',
  88. 39 silly resolved _shasum: '11ef9ec3f11a76085adc2d03554e3fed09edfb55',
  89. 39 silly resolved _from: 'ronn@',
  90. 39 silly resolved _resolved: 'https://registry.npmjs.org/ronn/-/ronn-0.4.0.tgz' } ]
  91. 40 info install ronn@0.4.0 into /usr/local/lib/node_modules/npm
  92. 41 info installOne ronn@0.4.0
  93. 42 info /usr/local/lib/node_modules/npm/node_modules/ronn unbuild
  94. 43 info preuninstall ronn@0.4.0
  95. 44 info uninstall ronn@0.4.0
  96. 45 verbose true,/usr/local/lib/node_modules/npm/node_modules,/usr/local/lib/node_modules/npm/node_modules unbuild ronn@0.4.0
  97. 46 verbose /usr/local/lib/node_modules/npm/node_modules/.bin,[object Object] binRoot
  98. 47 info postuninstall ronn@0.4.0
  99. 48 verbose tar unpack /Users/cosmos/.npm/ronn/0.4.0/package.tgz
  100. 49 silly lockFile 337958ab-de-modules-npm-node-modules-ronn tar:///usr/local/lib/node_modules/npm/node_modules/ronn
  101. 50 verbose lock tar:///usr/local/lib/node_modules/npm/node_modules/ronn /Users/cosmos/.npm/337958ab-de-modules-npm-node-modules-ronn.lock
  102. 51 silly lockFile 6da57043-osmos-npm-ronn-0-4-0-package-tgz tar:///Users/cosmos/.npm/ronn/0.4.0/package.tgz
  103. 52 verbose lock tar:///Users/cosmos/.npm/ronn/0.4.0/package.tgz /Users/cosmos/.npm/6da57043-osmos-npm-ronn-0-4-0-package-tgz.lock
  104. 53 silly gunzTarPerm modes [ '755', '644' ]
  105. 54 silly gunzTarPerm extractEntry lib/
  106. 55 silly gunzTarPerm extractEntry lib/ronn.js
  107. 56 silly gunzTarPerm extractEntry README.md
  108. 57 silly gunzTarPerm extractEntry CHANGES
  109. 58 silly gunzTarPerm extractEntry LICENSE
  110. 59 silly gunzTarPerm extractEntry TODO
  111. 60 silly gunzTarPerm extractEntry bin/
  112. 61 silly gunzTarPerm extractEntry bin/ronn.js
  113. 62 silly gunzTarPerm extractEntry .npmignore
  114. 63 silly gunzTarPerm extractEntry package.json
  115. 64 silly lockFile 337958ab-de-modules-npm-node-modules-ronn tar:///usr/local/lib/node_modules/npm/node_modules/ronn
  116. 65 silly lockFile 337958ab-de-modules-npm-node-modules-ronn tar:///usr/local/lib/node_modules/npm/node_modules/ronn
  117. 66 silly lockFile 6da57043-osmos-npm-ronn-0-4-0-package-tgz tar:///Users/cosmos/.npm/ronn/0.4.0/package.tgz
  118. 67 silly lockFile 6da57043-osmos-npm-ronn-0-4-0-package-tgz tar:///Users/cosmos/.npm/ronn/0.4.0/package.tgz
  119. 68 info preinstall ronn@0.4.0
  120. 69 verbose readDependencies using package.json deps
  121. 70 verbose readDependencies using package.json deps
  122. 71 verbose cache add [ 'opts@>=1.2.0', null ]
  123. 72 verbose cache add name=undefined spec="opts@>=1.2.0" args=["opts@>=1.2.0",null]
  124. 73 verbose parsed url { protocol: null,
  125. 73 verbose parsed url slashes: null,
  126. 73 verbose parsed url auth: null,
  127. 73 verbose parsed url host: null,
  128. 73 verbose parsed url port: null,
  129. 73 verbose parsed url hostname: null,
  130. 73 verbose parsed url hash: null,
  131. 73 verbose parsed url search: null,
  132. 73 verbose parsed url query: null,
  133. 73 verbose parsed url pathname: 'opts@%3E=1.2.0',
  134. 73 verbose parsed url path: 'opts@%3E=1.2.0',
  135. 73 verbose parsed url href: 'opts@%3E=1.2.0' }
  136. 74 verbose cache add name="opts" spec=">=1.2.0" args=["opts",">=1.2.0"]
  137. 75 verbose parsed url { protocol: null,
  138. 75 verbose parsed url slashes: null,
  139. 75 verbose parsed url auth: null,
  140. 75 verbose parsed url host: null,
  141. 75 verbose parsed url port: null,
  142. 75 verbose parsed url hostname: null,
  143. 75 verbose parsed url hash: null,
  144. 75 verbose parsed url search: null,
  145. 75 verbose parsed url query: null,
  146. 75 verbose parsed url pathname: '%3E=1.2.0',
  147. 75 verbose parsed url path: '%3E=1.2.0',
  148. 75 verbose parsed url href: '%3E=1.2.0' }
  149. 76 verbose addNamed [ 'opts', '>=1.2.0' ]
  150. 77 verbose addNamed [ null, '>=1.2.0' ]
  151. 78 silly lockFile d50a14af-opts-1-2-0 opts@>=1.2.0
  152. 79 verbose lock opts@>=1.2.0 /Users/cosmos/.npm/d50a14af-opts-1-2-0.lock
  153. 80 verbose cache add [ 'markdown@>=0.4.0', null ]
  154. 81 verbose cache add name=undefined spec="markdown@>=0.4.0" args=["markdown@>=0.4.0",null]
  155. 82 verbose parsed url { protocol: null,
  156. 82 verbose parsed url slashes: null,
  157. 82 verbose parsed url auth: null,
  158. 82 verbose parsed url host: null,
  159. 82 verbose parsed url port: null,
  160. 82 verbose parsed url hostname: null,
  161. 82 verbose parsed url hash: null,
  162. 82 verbose parsed url search: null,
  163. 82 verbose parsed url query: null,
  164. 82 verbose parsed url pathname: 'markdown@%3E=0.4.0',
  165. 82 verbose parsed url path: 'markdown@%3E=0.4.0',
  166. 82 verbose parsed url href: 'markdown@%3E=0.4.0' }
  167. 83 verbose cache add name="markdown" spec=">=0.4.0" args=["markdown",">=0.4.0"]
  168. 84 verbose parsed url { protocol: null,
  169. 84 verbose parsed url slashes: null,
  170. 84 verbose parsed url auth: null,
  171. 84 verbose parsed url host: null,
  172. 84 verbose parsed url port: null,
  173. 84 verbose parsed url hostname: null,
  174. 84 verbose parsed url hash: null,
  175. 84 verbose parsed url search: null,
  176. 84 verbose parsed url query: null,
  177. 84 verbose parsed url pathname: '%3E=0.4.0',
  178. 84 verbose parsed url path: '%3E=0.4.0',
  179. 84 verbose parsed url href: '%3E=0.4.0' }
  180. 85 verbose addNamed [ 'markdown', '>=0.4.0' ]
  181. 86 verbose addNamed [ null, '>=0.4.0' ]
  182. 87 silly lockFile 0b71c38a-markdown-0-4-0 markdown@>=0.4.0
  183. 88 verbose lock markdown@>=0.4.0 /Users/cosmos/.npm/0b71c38a-markdown-0-4-0.lock
  184. 89 silly addNameRange { name: 'opts', range: '>=1.2.0', hasData: false }
  185. 90 silly addNameRange { name: 'markdown', range: '>=0.4.0', hasData: false }
  186. 91 verbose url raw opts
  187. 92 verbose url resolving [ 'https://registry.npmjs.org/', './opts' ]
  188. 93 verbose url resolved https://registry.npmjs.org/opts
  189. 94 info trying registry request attempt 1 at 16:05:11
  190. 95 verbose etag "5BW5382XJKPZ7KO9ERTYFHZN8"
  191. 96 http GET https://registry.npmjs.org/opts
  192. 97 verbose url raw markdown
  193. 98 verbose url resolving [ 'https://registry.npmjs.org/', './markdown' ]
  194. 99 verbose url resolved https://registry.npmjs.org/markdown
  195. 100 info trying registry request attempt 1 at 16:05:11
  196. 101 verbose etag "8DRQSGI0S2YY1I63WAR84Y6GK"
  197. 102 http GET https://registry.npmjs.org/markdown
  198. 103 http 304 https://registry.npmjs.org/opts
  199. 104 silly registry.get cb [ 304,
  200. 104 silly registry.get { date: 'Wed, 09 Jul 2014 20:05:12 GMT',
  201. 104 silly registry.get server: 'Apache',
  202. 104 silly registry.get via: '1.1 varnish',
  203. 104 silly registry.get 'last-modified': 'Wed, 09 Jul 2014 20:05:12 GMT',
  204. 104 silly registry.get 'cache-control': 'max-age=30',
  205. 104 silly registry.get etag: '"5BW5382XJKPZ7KO9ERTYFHZN8"',
  206. 104 silly registry.get 'x-served-by': 'cache-jfk1024-JFK',
  207. 104 silly registry.get 'x-cache': 'HIT',
  208. 104 silly registry.get 'x-cache-hits': '1',
  209. 104 silly registry.get 'x-timer': 'S1404936312.187464,VS0,VE87',
  210. 104 silly registry.get vary: 'Accept',
  211. 104 silly registry.get 'content-length': '0',
  212. 104 silly registry.get 'keep-alive': 'timeout=10, max=50',
  213. 104 silly registry.get connection: 'Keep-Alive' } ]
  214. 105 verbose etag opts from cache
  215. 106 http 304 https://registry.npmjs.org/markdown
  216. 107 silly registry.get cb [ 304,
  217. 107 silly registry.get { date: 'Wed, 09 Jul 2014 20:05:12 GMT',
  218. 107 silly registry.get server: 'Apache',
  219. 107 silly registry.get via: '1.1 varnish',
  220. 107 silly registry.get 'last-modified': 'Wed, 09 Jul 2014 20:05:12 GMT',
  221. 107 silly registry.get 'cache-control': 'max-age=30',
  222. 107 silly registry.get etag: '"8DRQSGI0S2YY1I63WAR84Y6GK"',
  223. 107 silly registry.get 'x-served-by': 'cache-jfk1031-JFK',
  224. 107 silly registry.get 'x-cache': 'HIT',
  225. 107 silly registry.get 'x-cache-hits': '1',
  226. 107 silly registry.get 'x-timer': 'S1404936312.192887,VS0,VE81',
  227. 107 silly registry.get vary: 'Accept',
  228. 107 silly registry.get 'content-length': '0',
  229. 107 silly registry.get 'keep-alive': 'timeout=10, max=50',
  230. 107 silly registry.get connection: 'Keep-Alive' } ]
  231. 108 verbose etag markdown from cache
  232. 109 silly addNameRange number 2 { name: 'markdown', range: '>=0.4.0', hasData: true }
  233. 110 silly addNameRange versions [ 'markdown',
  234. 110 silly addNameRange [ '0.1.0',
  235. 110 silly addNameRange '0.1.1',
  236. 110 silly addNameRange '0.1.2',
  237. 110 silly addNameRange '0.2.1',
  238. 110 silly addNameRange '0.3.0',
  239. 110 silly addNameRange '0.3.1',
  240. 110 silly addNameRange '0.4.0',
  241. 110 silly addNameRange '0.5.0' ] ]
  242. 111 verbose addNamed [ 'markdown', '0.5.0' ]
  243. 112 verbose addNamed [ '0.5.0', '0.5.0' ]
  244. 113 silly lockFile a99f05a7-markdown-0-5-0 markdown@0.5.0
  245. 114 verbose lock markdown@0.5.0 /Users/cosmos/.npm/a99f05a7-markdown-0-5-0.lock
  246. 115 silly addNameRange number 2 { name: 'opts', range: '>=1.2.0', hasData: true }
  247. 116 silly addNameRange versions [ 'opts', [ '1.2.0', '1.2.1', '1.2.2' ] ]
  248. 117 verbose addNamed [ 'opts', '1.2.2' ]
  249. 118 verbose addNamed [ '1.2.2', '1.2.2' ]
  250. 119 silly lockFile 77573fd5-opts-1-2-2 opts@1.2.2
  251. 120 verbose lock opts@1.2.2 /Users/cosmos/.npm/77573fd5-opts-1-2-2.lock
  252. 121 silly lockFile a99f05a7-markdown-0-5-0 markdown@0.5.0
  253. 122 silly lockFile a99f05a7-markdown-0-5-0 markdown@0.5.0
  254. 123 silly lockFile 0b71c38a-markdown-0-4-0 markdown@>=0.4.0
  255. 124 silly lockFile 0b71c38a-markdown-0-4-0 markdown@>=0.4.0
  256. 125 silly lockFile 77573fd5-opts-1-2-2 opts@1.2.2
  257. 126 silly lockFile 77573fd5-opts-1-2-2 opts@1.2.2
  258. 127 silly lockFile d50a14af-opts-1-2-0 opts@>=1.2.0
  259. 128 silly lockFile d50a14af-opts-1-2-0 opts@>=1.2.0
  260. 129 silly resolved [ { name: 'markdown',
  261. 129 silly resolved version: '0.5.0',
  262. 129 silly resolved description: 'A sensible Markdown parser for javascript',
  263. 129 silly resolved keywords: [ 'markdown', 'text processing', 'ast' ],
  264. 129 silly resolved maintainers: [ [Object], [Object] ],
  265. 129 silly resolved contributors: [ [Object], [Object] ],
  266. 129 silly resolved bugs: { url: 'http://github.com/evilstreak/markdown-js/issues' },
  267. 129 silly resolved licenses: [ [Object] ],
  268. 129 silly resolved repository:
  269. 129 silly resolved { type: 'git',
  270. 129 silly resolved url: 'git://github.com/evilstreak/markdown-js.git' },
  271. 129 silly resolved main: './lib/index.js',
  272. 129 silly resolved bin: { md2html: './bin/md2html.js' },
  273. 129 silly resolved dependencies: { nopt: '~2.1.1' },
  274. 129 silly resolved devDependencies: { tap: '~0.3.3' },
  275. 129 silly resolved scripts: { test: 'tap ./test/*.t.js' },
  276. 129 silly resolved readme: '# markdown-js\n\nYet another markdown parser, this time for JavaScript. There\'s a few\noptions that precede this project but they all treat markdown to HTML\nconversion as a single step process. You pass markdown in and get HTML\nout, end of story. We had some pretty particular views on how the\nprocess should actually look, which include:\n\n * producing well-formed HTML. This means that `em` and `strong` nesting\n is important, as is the ability to output as both HTML and XHTML\n\n * having an intermediate representation to allow processing of parsed\n data (we in fact have two, both [JsonML]: a markdown tree and an HTML tree)\n\n * being easily extensible to add new dialects without having to\n rewrite the entire parsing mechanics\n\n * having a good test suite. The only test suites we could find tested\n massive blocks of input, and passing depended on outputting the HTML\n with exactly the same whitespace as the original implementation\n\n[JsonML]: http://jsonml.org/ "JSON Markup Language"\n\n## Installation\n\nJust the `markdown` library:\n\n npm install markdown\n\nOptionally, install `md2html` into your path\n\n npm install -g markdown\n\n## Usage\n\n### Node\n\nThe simple way to use it with node is:\n\n```js\nvar markdown = require( "markdown" ).markdown;\nconsole.log( markdown.toHTML( "Hello *World*!" ) );\n```\n\n### Browser\n\nIt also works in a browser; here is a complete example:\n\n```html\n<!DOCTYPE html>\n<html>\n <body>\n <textarea id="text-input" oninput="this.editor.update()"\n rows="6" cols="60">Type **Markdown** here.</textarea>\n <div id="preview"> </div>\n <script src="lib/markdown.js"></script>\n <script>\n function Editor(input, preview) {\n this.update = function () {\n preview.innerHTML = markdown.toHTML(input.value);\n };\n input.editor = this;\n this.update();\n }\n var $ = function (id) { return document.getElementById(id); };\n new Editor($("text-input"), $("preview"));\n </script>\n </body>\n</html>\n```\n\n### Command line\n\nAssuming you\'ve installed the `md2html` script (see Installation,\nabove), you can convert markdown to html:\n\n```bash\n# read from a file\nmd2html /path/to/doc.md > /path/to/doc.html\n\n# or from stdin\necho \'Hello *World*!\' | md2html\n```\n\n### More options\n\nIf you want more control check out the documentation in\n[lib/markdown.js] which details all the methods and parameters\navailable (including examples!). One day we\'ll get the docs generated\nand hosted somewhere for nicer browsing.\n\n[lib/markdown.js]: http://github.com/evilstreak/markdown-js/blob/master/lib/markdown.js\n\nMeanwhile, here\'s an example of using the multi-step processing to\nmake wiki-style linking work by filling in missing link references:\n\n```js\nvar md = require( "markdown" ).markdown,\n text = "[Markdown] is a simple text-based [markup language]\\n" +\n "created by [John Gruber]\\n\\n" +\n "[John Gruber]: http://daringfireball.net";\n\n// parse the markdown into a tree and grab the link references\nvar tree = md.parse( text ),\n refs = tree[ 1 ].references;\n\n// iterate through the tree finding link references\n( function find_link_refs( jsonml ) {\n if ( jsonml[ 0 ] === "link_ref" ) {\n var ref = jsonml[ 1 ].ref;\n\n // if there\'s no reference, define a wiki link\n if ( !refs[ ref ] ) {\n refs[ ref ] = {\n href: "http://en.wikipedia.org/wiki/" + ref.replace(/\\s+/, "_" )\n };\n }\n }\n else if ( Array.isArray( jsonml[ 1 ] ) ) {\n jsonml[ 1 ].forEach( find_link_refs );\n }\n else if ( Array.isArray( jsonml[ 2 ] ) ) {\n jsonml[ 2 ].forEach( find_link_refs );\n }\n} )( tree );\n\n// convert the tree into html\nvar html = md.renderJsonML( md.toHTMLTree( tree ) );\nconsole.log( html );\n```\n\n## Intermediate Representation\n\nInternally the process to convert a chunk of markdown into a chunk of\nHTML has three steps:\n\n 1. Parse the markdown into a JsonML tree. Any references found in the\n parsing are stored in the attribute hash of the root node under the\n key `references`.\n\n 2. Convert the markdown tree into an HTML tree. Rename any nodes that\n need it (`bulletlist` to `ul` for example) and lookup any references\n used by links or images. Remove the references attribute once done.\n\n 3. Stringify the HTML tree being careful not to wreck whitespace where\n whitespace is important (surrounding inline elements for example).\n\nEach step of this process can be called individually if you need to do\nsome processing or modification of the data at an intermediate stage.\nFor example, you may want to grab a list of all URLs linked to in the\ndocument before rendering it to HTML which you could do by recursing\nthrough the HTML tree looking for `a` nodes.\n\n## Running tests\n\nTo run the tests under node you will need tap installed (it\'s listed as a\n`devDependencies` so `npm install` from the checkout should be enough), then do\n\n $ npm test\n\n## Contributing\n\nDo the usual github fork and pull request dance. Add yourself to the\ncontributors section of [package.json](/package.json) too if you want to.\n\n## License\n\nReleased under the MIT license.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the "Software"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n',
  277. 129 silly resolved readmeFilename: 'README.markdown',
  278. 129 silly resolved homepage: 'https://github.com/evilstreak/markdown-js',
  279. 129 silly resolved _id: 'markdown@0.5.0',
  280. 129 silly resolved _shasum: '28205b565a8ae7592de207463d6637dc182722b2',
  281. 129 silly resolved _from: 'markdown@>=0.4.0',
  282. 129 silly resolved _resolved: 'https://registry.npmjs.org/markdown/-/markdown-0.5.0.tgz' },
  283. 129 silly resolved { name: 'opts',
  284. 129 silly resolved version: '1.2.2',
  285. 129 silly resolved description: 'Command line argument parser written in the style of commonjs. To be used with node.js',
  286. 129 silly resolved author:
  287. 129 silly resolved { name: 'Joey Mazzarelli',
  288. 129 silly resolved email: 'mazzarelli@gmail.com',
  289. 129 silly resolved url: 'http://joey.mazzarelli.com' },
  290. 129 silly resolved main: 'js/opts',
  291. 129 silly resolved engines: { node: '>=0.1.90' },
  292. 129 silly resolved readme: '\nVersion:\n1.0\n\nInstallation:\nJust copy opts.js to your node.js project and import it with the require\nfunction. See included files for an example.\n\nBugs:\nPlease report bugs tohttp://bitbucket.org/mazzarelli/js-opts/issues/\n\n',
  293. 129 silly resolved readmeFilename: 'README',
  294. 129 silly resolved _id: 'opts@1.2.2',
  295. 129 silly resolved _shasum: '81782b93014a1cd88d56c226643fd4282473853d',
  296. 129 silly resolved _from: 'opts@>=1.2.0',
  297. 129 silly resolved _resolved: 'https://registry.npmjs.org/opts/-/opts-1.2.2.tgz' } ]
  298. 130 info install markdown@0.5.0 into /usr/local/lib/node_modules/npm/node_modules/ronn
  299. 131 info install opts@1.2.2 into /usr/local/lib/node_modules/npm/node_modules/ronn
  300. 132 info installOne markdown@0.5.0
  301. 133 info installOne opts@1.2.2
  302. 134 info /usr/local/lib/node_modules/npm/node_modules/ronn/node_modules/markdown unbuild
  303. 135 info /usr/local/lib/node_modules/npm/node_modules/ronn/node_modules/opts unbuild
  304. 136 verbose tar unpack /Users/cosmos/.npm/markdown/0.5.0/package.tgz
  305. 137 silly lockFile f5426165-dules-ronn-node-modules-markdown tar:///usr/local/lib/node_modules/npm/node_modules/ronn/node_modules/markdown
  306. 138 verbose lock tar:///usr/local/lib/node_modules/npm/node_modules/ronn/node_modules/markdown /Users/cosmos/.npm/f5426165-dules-ronn-node-modules-markdown.lock
  307. 139 silly lockFile e53b1acd-s-npm-markdown-0-5-0-package-tgz tar:///Users/cosmos/.npm/markdown/0.5.0/package.tgz
  308. 140 verbose lock tar:///Users/cosmos/.npm/markdown/0.5.0/package.tgz /Users/cosmos/.npm/e53b1acd-s-npm-markdown-0-5-0-package-tgz.lock
  309. 141 verbose tar unpack /Users/cosmos/.npm/opts/1.2.2/package.tgz
  310. 142 silly lockFile c9eff18b-e-modules-ronn-node-modules-opts tar:///usr/local/lib/node_modules/npm/node_modules/ronn/node_modules/opts
  311. 143 verbose lock tar:///usr/local/lib/node_modules/npm/node_modules/ronn/node_modules/opts /Users/cosmos/.npm/c9eff18b-e-modules-ronn-node-modules-opts.lock
  312. 144 silly lockFile eb139adb-osmos-npm-opts-1-2-2-package-tgz tar:///Users/cosmos/.npm/opts/1.2.2/package.tgz
  313. 145 verbose lock tar:///Users/cosmos/.npm/opts/1.2.2/package.tgz /Users/cosmos/.npm/eb139adb-osmos-npm-opts-1-2-2-package-tgz.lock
  314. 146 silly gunzTarPerm modes [ '755', '644' ]
  315. 147 silly gunzTarPerm modes [ '755', '644' ]
  316. 148 silly gunzTarPerm extractEntry package.json
  317. 149 silly gunzTarPerm extractEntry package.json
  318. 150 silly gunzTarPerm extractEntry .npmignore
  319. 151 silly gunzTarPerm extractEntry .travis.yml
  320. 152 silly gunzTarPerm extractEntry examples/
  321. 153 silly gunzTarPerm extractEntry examples/example3.js
  322. 154 silly gunzTarPerm extractEntry bin/md2html.js
  323. 155 silly gunzTarPerm extractEntry Changes.markdown
  324. 156 silly gunzTarPerm extractEntry examples/example2.js
  325. 157 silly gunzTarPerm extractEntry examples/example4.js
  326. 158 silly gunzTarPerm extractEntry examples/example1.js
  327. 159 silly gunzTarPerm extractEntry .hgtags
  328. 160 silly gunzTarPerm extractEntry js/
  329. 161 silly gunzTarPerm extractEntry lib/index.js
  330. 162 silly gunzTarPerm extractEntry lib/markdown.js
  331. 163 silly gunzTarPerm extractEntry js/opts.js
  332. 164 silly gunzTarPerm extractEntry .hgignore
  333. 165 silly gunzTarPerm extractEntry LICENSE
  334. 166 silly gunzTarPerm extractEntry README
  335. 167 silly gunzTarPerm extractEntry markdown-js.sublime-project
  336. 168 silly gunzTarPerm extractEntry markdown-js.sublime-workspace
  337. 169 silly gunzTarPerm extractEntry README.markdown
  338. 170 silly gunzTarPerm extractEntry seed.yml
  339. 171 silly lockFile c9eff18b-e-modules-ronn-node-modules-opts tar:///usr/local/lib/node_modules/npm/node_modules/ronn/node_modules/opts
  340. 172 silly lockFile c9eff18b-e-modules-ronn-node-modules-opts tar:///usr/local/lib/node_modules/npm/node_modules/ronn/node_modules/opts
  341. 173 silly lockFile eb139adb-osmos-npm-opts-1-2-2-package-tgz tar:///Users/cosmos/.npm/opts/1.2.2/package.tgz
  342. 174 silly lockFile eb139adb-osmos-npm-opts-1-2-2-package-tgz tar:///Users/cosmos/.npm/opts/1.2.2/package.tgz
  343. 175 info preinstall opts@1.2.2
  344. 176 verbose readDependencies using package.json deps
  345. 177 verbose readDependencies using package.json deps
  346. 178 silly resolved []
  347. 179 verbose about to build /usr/local/lib/node_modules/npm/node_modules/ronn/node_modules/opts
  348. 180 info build /usr/local/lib/node_modules/npm/node_modules/ronn/node_modules/opts
  349. 181 verbose linkStuff [ false,
  350. 181 verbose linkStuff false,
  351. 181 verbose linkStuff false,
  352. 181 verbose linkStuff '/usr/local/lib/node_modules/npm/node_modules/ronn/node_modules' ]
  353. 182 info linkStuff opts@1.2.2
  354. 183 verbose linkBins opts@1.2.2
  355. 184 verbose linkMans opts@1.2.2
  356. 185 verbose rebuildBundles opts@1.2.2
  357. 186 info install opts@1.2.2
  358. 187 info postinstall opts@1.2.2
  359. 188 silly lockFile f5426165-dules-ronn-node-modules-markdown tar:///usr/local/lib/node_modules/npm/node_modules/ronn/node_modules/markdown
  360. 189 silly lockFile f5426165-dules-ronn-node-modules-markdown tar:///usr/local/lib/node_modules/npm/node_modules/ronn/node_modules/markdown
  361. 190 silly lockFile e53b1acd-s-npm-markdown-0-5-0-package-tgz tar:///Users/cosmos/.npm/markdown/0.5.0/package.tgz
  362. 191 silly lockFile e53b1acd-s-npm-markdown-0-5-0-package-tgz tar:///Users/cosmos/.npm/markdown/0.5.0/package.tgz
  363. 192 info preinstall markdown@0.5.0
  364. 193 verbose readDependencies using package.json deps
  365. 194 verbose readDependencies using package.json deps
  366. 195 verbose cache add [ 'nopt@~2.1.1', null ]
  367. 196 verbose cache add name=undefined spec="nopt@~2.1.1" args=["nopt@~2.1.1",null]
  368. 197 verbose parsed url { protocol: null,
  369. 197 verbose parsed url slashes: null,
  370. 197 verbose parsed url auth: null,
  371. 197 verbose parsed url host: null,
  372. 197 verbose parsed url port: null,
  373. 197 verbose parsed url hostname: null,
  374. 197 verbose parsed url hash: null,
  375. 197 verbose parsed url search: null,
  376. 197 verbose parsed url query: null,
  377. 197 verbose parsed url pathname: 'nopt@~2.1.1',
  378. 197 verbose parsed url path: 'nopt@~2.1.1',
  379. 197 verbose parsed url href: 'nopt@~2.1.1' }
  380. 198 verbose cache add name="nopt" spec="~2.1.1" args=["nopt","~2.1.1"]
  381. 199 verbose parsed url { protocol: null,
  382. 199 verbose parsed url slashes: null,
  383. 199 verbose parsed url auth: null,
  384. 199 verbose parsed url host: null,
  385. 199 verbose parsed url port: null,
  386. 199 verbose parsed url hostname: null,
  387. 199 verbose parsed url hash: null,
  388. 199 verbose parsed url search: null,
  389. 199 verbose parsed url query: null,
  390. 199 verbose parsed url pathname: '~2.1.1',
  391. 199 verbose parsed url path: '~2.1.1',
  392. 199 verbose parsed url href: '~2.1.1' }
  393. 200 verbose addNamed [ 'nopt', '~2.1.1' ]
  394. 201 verbose addNamed [ null, '>=2.1.1-0 <2.2.0-0' ]
  395. 202 silly lockFile 527d9343-nopt-2-1-1 nopt@~2.1.1
  396. 203 verbose lock nopt@~2.1.1 /Users/cosmos/.npm/527d9343-nopt-2-1-1.lock
  397. 204 silly addNameRange { name: 'nopt', range: '>=2.1.1-0 <2.2.0-0', hasData: false }
  398. 205 verbose url raw nopt
  399. 206 verbose url resolving [ 'https://registry.npmjs.org/', './nopt' ]
  400. 207 verbose url resolved https://registry.npmjs.org/nopt
  401. 208 info trying registry request attempt 1 at 16:05:12
  402. 209 http GET https://registry.npmjs.org/nopt
  403. 210 http 200 https://registry.npmjs.org/nopt
  404. 211 silly registry.get cb [ 200,
  405. 211 silly registry.get { date: 'Wed, 09 Jul 2014 20:05:12 GMT',
  406. 211 silly registry.get server: 'CouchDB/1.5.0 (Erlang OTP/R16B03)',
  407. 211 silly registry.get etag: '"C9FRFPXSIFPDKBMBKEILP7MDR"',
  408. 211 silly registry.get 'content-type': 'application/json',
  409. 211 silly registry.get 'cache-control': 'max-age=30',
  410. 211 silly registry.get 'content-length': '26174',
  411. 211 silly registry.get 'accept-ranges': 'bytes',
  412. 211 silly registry.get via: '1.1 varnish',
  413. 211 silly registry.get age: '1460',
  414. 211 silly registry.get 'x-served-by': 'cache-jfk1031-JFK',
  415. 211 silly registry.get 'x-cache': 'HIT',
  416. 211 silly registry.get 'x-cache-hits': '1',
  417. 211 silly registry.get 'x-timer': 'S1404936312.427543,VS0,VE0',
  418. 211 silly registry.get vary: 'Accept',
  419. 211 silly registry.get 'keep-alive': 'timeout=10, max=50',
  420. 211 silly registry.get connection: 'Keep-Alive' } ]
  421. 212 silly addNameRange number 2 { name: 'nopt', range: '>=2.1.1-0 <2.2.0-0', hasData: true }
  422. 213 silly addNameRange versions [ 'nopt',
  423. 213 silly addNameRange [ '1.0.0',
  424. 213 silly addNameRange '1.0.1',
  425. 213 silly addNameRange '1.0.2',
  426. 213 silly addNameRange '1.0.3',
  427. 213 silly addNameRange '1.0.4',
  428. 213 silly addNameRange '1.0.5',
  429. 213 silly addNameRange '1.0.6',
  430. 213 silly addNameRange '1.0.7',
  431. 213 silly addNameRange '1.0.8',
  432. 213 silly addNameRange '1.0.9',
  433. 213 silly addNameRange '1.0.10',
  434. 213 silly addNameRange '2.0.0',
  435. 213 silly addNameRange '2.1.0',
  436. 213 silly addNameRange '2.1.1',
  437. 213 silly addNameRange '2.1.2',
  438. 213 silly addNameRange '2.2.0',
  439. 213 silly addNameRange '2.2.1',
  440. 213 silly addNameRange '3.0.0',
  441. 213 silly addNameRange '3.0.1' ] ]
  442. 214 verbose addNamed [ 'nopt', '2.1.2' ]
  443. 215 verbose addNamed [ '2.1.2', '2.1.2' ]
  444. 216 silly lockFile 7d0298b9-nopt-2-1-2 nopt@2.1.2
  445. 217 verbose lock nopt@2.1.2 /Users/cosmos/.npm/7d0298b9-nopt-2-1-2.lock
  446. 218 silly lockFile 44760744-ry-npmjs-org-nopt-nopt-2-1-2-tgz https://registry.npmjs.org/nopt/-/nopt-2.1.2.tgz
  447. 219 verbose lock https://registry.npmjs.org/nopt/-/nopt-2.1.2.tgz /Users/cosmos/.npm/44760744-ry-npmjs-org-nopt-nopt-2-1-2-tgz.lock
  448. 220 verbose addRemoteTarball [ 'https://registry.npmjs.org/nopt/-/nopt-2.1.2.tgz',
  449. 220 verbose addRemoteTarball '6cccd977b80132a07731d6e8ce58c2c8303cf9af' ]
  450. 221 info retry fetch attempt 1 at 16:05:12
  451. 222 verbose fetch to= /var/folders/3j/zxfs6fvx6wzc9n2t4sdqbjtc0000gn/T/npm-2306-tVOs5TNy/1404936312191-0.874178247526288/tmp.tgz
  452. 223 http GET https://registry.npmjs.org/nopt/-/nopt-2.1.2.tgz
  453. 224 http 200 https://registry.npmjs.org/nopt/-/nopt-2.1.2.tgz
  454. 225 verbose tar unpack /var/folders/3j/zxfs6fvx6wzc9n2t4sdqbjtc0000gn/T/npm-2306-tVOs5TNy/1404936312191-0.874178247526288/tmp.tgz
  455. 226 silly lockFile 1c54c860-rs-cosmos-npm-nopt-2-1-2-package tar:///Users/cosmos/.npm/nopt/2.1.2/package
  456. 227 verbose lock tar:///Users/cosmos/.npm/nopt/2.1.2/package /Users/cosmos/.npm/1c54c860-rs-cosmos-npm-nopt-2-1-2-package.lock
  457. 228 silly lockFile fc4541bb-312191-0-874178247526288-tmp-tgz tar:///var/folders/3j/zxfs6fvx6wzc9n2t4sdqbjtc0000gn/T/npm-2306-tVOs5TNy/1404936312191-0.874178247526288/tmp.tgz
  458. 229 verbose lock tar:///var/folders/3j/zxfs6fvx6wzc9n2t4sdqbjtc0000gn/T/npm-2306-tVOs5TNy/1404936312191-0.874178247526288/tmp.tgz /Users/cosmos/.npm/fc4541bb-312191-0-874178247526288-tmp-tgz.lock
  459. 230 silly gunzTarPerm modes [ '755', '644' ]
  460. 231 error Error: EACCES, mkdir '/Users/cosmos/.npm/nopt/2.1.2'
  461. 231 error { [Error: EACCES, mkdir '/Users/cosmos/.npm/nopt/2.1.2']
  462. 231 error errno: 3,
  463. 231 error code: 'EACCES',
  464. 231 error path: '/Users/cosmos/.npm/nopt/2.1.2',
  465. 231 error fstream_type: 'Directory',
  466. 231 error fstream_path: '/Users/cosmos/.npm/nopt/2.1.2/package',
  467. 231 error fstream_class: 'DirWriter',
  468. 231 error fstream_stack:
  469. 231 error [ '/usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:171:23',
  470. 231 error '/usr/local/lib/node_modules/npm/node_modules/mkdirp/index.js:37:53',
  471. 231 error 'Object.oncomplete (fs.js:107:15)' ] }
  472. 232 error Please try running this command again as root/Administrator.
  473. 233 error System Darwin 13.3.0
  474. 234 error command "node" "/usr/local/lib/node_modules/npm/cli.js" "install" "ronn" "--no-global"
  475. 235 error cwd /usr/local/lib/node_modules/npm
  476. 236 error node -v v0.10.29
  477. 237 error npm -v 1.4.9
  478. 238 error path /Users/cosmos/.npm/nopt/2.1.2
  479. 239 error fstream_path /Users/cosmos/.npm/nopt/2.1.2/package
  480. 240 error fstream_type Directory
  481. 241 error fstream_class DirWriter
  482. 242 error code EACCES
  483. 243 error errno 3
  484. 244 error stack Error: EACCES, mkdir '/Users/cosmos/.npm/nopt/2.1.2'
  485. 245 error fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:171:23
  486. 245 error fstream_stack /usr/local/lib/node_modules/npm/node_modules/mkdirp/index.js:37:53
  487. 245 error fstream_stack Object.oncomplete (fs.js:107:15)
  488. 246 verbose exit [ 3, true ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement