Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9342545
org
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
5 KB
Subscribers
None
org
View Options
{
"_id"
:
"org"
,
"_rev"
:
"4-22484cc537f12d3023241211ee34e39d"
,
"name"
:
"org"
,
"description"
:
"A parser and converter for org-mode notation"
,
"dist-tags"
:
{
"latest"
:
"0.0.4"
},
"versions"
:
{
"0.0.2"
:
{
"name"
:
"org"
,
"description"
:
"A parser and converter for org-mode notation"
,
"homepage"
:
"http://mooz.github.com/org-js"
,
"keywords"
:
[
"org-mode"
,
"emacs"
,
"parser"
],
"author"
:
{
"name"
:
"mooz"
,
"email"
:
"stillpedant@gmail.com"
},
"main"
:
"./lib/org.js"
,
"version"
:
"0.0.2"
,
"directories"
:
{
"test"
:
"./tests"
},
"repository"
:
{
"type"
:
"git"
,
"url"
:
"git://github.com/mooz/org-js.git"
},
"bugs"
:
{
"url"
:
"https://github.com/mooz/org-js/issues"
},
"_id"
:
"org@0.0.2"
,
"dist"
:
{
"shasum"
:
"12c58092e7de94456a43ef7823eef45e4d1d12fe"
,
"tarball"
:
"https://registry.npmjs.org/org/-/org-0.0.2.tgz"
},
"_from"
:
"."
,
"_npmVersion"
:
"1.2.25"
,
"_npmUser"
:
{
"name"
:
"mooz"
,
"email"
:
"stillpedant@gmail.com"
},
"maintainers"
:
[
{
"name"
:
"mooz"
,
"email"
:
"stillpedant@gmail.com"
}
]
},
"0.0.3"
:
{
"name"
:
"org"
,
"description"
:
"A parser and converter for org-mode notation"
,
"homepage"
:
"http://mooz.github.com/org-js"
,
"bugs"
:
{
"url"
:
"http://github.com/mooz/org-s/issues"
},
"keywords"
:
[
"org-mode"
,
"emacs"
,
"parser"
],
"author"
:
{
"name"
:
"Masafumi Oyamada"
,
"email"
:
"stillpedant@gmail.com"
,
"url"
:
"http://mooz.github.io/"
},
"licenses"
:
[
{
"type"
:
"MIT"
}
],
"main"
:
"./lib/org.js"
,
"version"
:
"0.0.3"
,
"directories"
:
{
"test"
:
"./tests"
},
"repository"
:
{
"type"
:
"git"
,
"url"
:
"git://github.com/mooz/org-js.git"
},
"_id"
:
"org@0.0.3"
,
"dist"
:
{
"shasum"
:
"6a44220f88903a6dfc3b47d010238058f9faf3a0"
,
"tarball"
:
"https://registry.npmjs.org/org/-/org-0.0.3.tgz"
},
"_from"
:
"."
,
"_npmVersion"
:
"1.2.25"
,
"_npmUser"
:
{
"name"
:
"mooz"
,
"email"
:
"stillpedant@gmail.com"
},
"maintainers"
:
[
{
"name"
:
"mooz"
,
"email"
:
"stillpedant@gmail.com"
}
]
},
"0.0.4"
:
{
"name"
:
"org"
,
"description"
:
"A parser and converter for org-mode notation"
,
"homepage"
:
"http://mooz.github.com/org-js"
,
"bugs"
:
{
"url"
:
"http://github.com/mooz/org-s/issues"
},
"keywords"
:
[
"org-mode"
,
"emacs"
,
"parser"
],
"author"
:
{
"name"
:
"Masafumi Oyamada"
,
"email"
:
"stillpedant@gmail.com"
,
"url"
:
"http://mooz.github.io/"
},
"licenses"
:
[
{
"type"
:
"MIT"
}
],
"main"
:
"./lib/org.js"
,
"version"
:
"0.0.4"
,
"directories"
:
{
"test"
:
"./tests"
},
"repository"
:
{
"type"
:
"git"
,
"url"
:
"git://github.com/mooz/org-js.git"
},
"_id"
:
"org@0.0.4"
,
"dist"
:
{
"shasum"
:
"788b3be1a50f7c94c1500ae4d922ec76c04e06ea"
,
"tarball"
:
"https://registry.npmjs.org/org/-/org-0.0.4.tgz"
},
"_from"
:
"."
,
"_npmVersion"
:
"1.2.25"
,
"_npmUser"
:
{
"name"
:
"mooz"
,
"email"
:
"stillpedant@gmail.com"
},
"maintainers"
:
[
{
"name"
:
"mooz"
,
"email"
:
"stillpedant@gmail.com"
}
]
}
},
"readme"
:
"org-js
\n
======
\n\n
Parser and converter for org-mode (<http://orgmode.org/>) notation written in JavaScript.
\n\n
Interactive Editor
\n
------------------
\n\n
For working example, see http://mooz.github.com/org-js/editor/.
\n\n
Installation
\n
------------
\n\n
npm install org
\n\n
Simple example of org -> HTML conversion
\n
----------------------------------------
\n\n
```javascript
\n
var org = require(
\"
org
\"
);
\n\n
var parser = new org.Parser();
\n
var orgDocument = parser.parse(orgCode);
\n
var orgHTMLDocument = orgDocument.convert(org.ConverterHTML, {
\n
headerOffset: 1,
\n
exportFromLineNumber: false,
\n
suppressSubScriptHandling: false,
\n
suppressAutoLink: false
\n
});
\n\n
console.dir(orgHTMLDocument); // => { title, contentHTML, tocHTML, toc }
\n
console.log(orgHTMLDocument.toString()) // => Rendered HTML
\n
```
\n\n
Writing yet another converter
\n
-----------------------------
\n\n
See `lib/org/converter/html.js`.
\n
"
,
"maintainers"
:
[
{
"name"
:
"mooz"
,
"email"
:
"stillpedant@gmail.com"
}
],
"time"
:
{
"modified"
:
"2019-01-05T01:37:44.220Z"
,
"created"
:
"2014-01-01T15:40:31.231Z"
,
"0.0.2"
:
"2014-01-01T15:40:33.020Z"
,
"0.0.3"
:
"2014-01-01T15:55:45.497Z"
,
"0.0.4"
:
"2014-01-02T06:10:26.485Z"
},
"author"
:
{
"name"
:
"Masafumi Oyamada"
,
"email"
:
"stillpedant@gmail.com"
,
"url"
:
"http://mooz.github.io/"
},
"repository"
:
{
"type"
:
"git"
,
"url"
:
"git://github.com/mooz/org-js.git"
},
"users"
:
{
"nak2k"
:
true
,
"bgschaid"
:
true
,
"422665vijay"
:
true
,
"nontau"
:
true
},
"homepage"
:
"http://mooz.github.com/org-js"
,
"keywords"
:
[
"org-mode"
,
"emacs"
,
"parser"
],
"bugs"
:
{
"url"
:
"http://github.com/mooz/org-s/issues"
},
"readmeFilename"
:
"README.md"
}
File Metadata
Details
Attached
Mime Type
application/json
Expires
Fri, Jul 4, 12:49 PM (2 w, 2 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3242825
Attached To
rDLDBASE Generic VCS/Package Loader
Event Timeline
Log In to Comment