Skip to content

Commit f16fdfe

Browse files
committed
Giving a structure to the readme and add install doc
1 parent 9008cc4 commit f16fdfe

1 file changed

Lines changed: 34 additions & 26 deletions

File tree

README.md

Lines changed: 34 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,6 @@
11
# rdflib.js
22

3-
This is a library for working with RDF on the web.
4-
5-
Originally targetted at the AJAX environment in the browser,
6-
it can also be used server side with for example Node.js.
7-
8-
Possible out of date information is available from here:
9-
10-
http://dig.csail.mit.edu/2005/ajar/ajaw/Developer.html
11-
12-
This is a linked data library, which can look up data
13-
on the web as it goes.
3+
Javascript RDF library for browsers and NodeJS.
144

155
- Reads and writes RDF/xml, turtle and N3.
166
- Read/Write Linked Data client, using WebDav or SPARQL/Update
@@ -20,31 +10,49 @@ on the web as it goes.
2010
- Smushing of nodes from owl:sameAs, and owl:{f,inverseF}unctionProperty
2111
- Tracks provence of triples keeps metadata (in RDF) from HTTP accesses
2212

23-
## Subdirectories
13+
## Install
2414

25-
- dist Run 'make' in this directory to generate dist in whch libraries are buit
26-
- test Tests are here.
15+
#### Browser
2716

28-
## Dependencies
17+
Install dependencies you may need to generate the js file.
2918

30-
- jQuery (rdfa version only)
31-
- jQuery, XMLHTTPRequest (Node.js version)
19+
```bash
20+
$ npm install -g coffee-script nodeunit
21+
```
3222

33-
## Install
34-
35-
Install the Node Package Manager https://npmjs.org/
36-
As root run
23+
Generate the dist directory
3724

3825
```bash
39-
$ npm install -g coffee-script nodeunit
26+
$ make
4027
```
41-
42-
Run `make` to generate the dist directory
4328

44-
# Thanks
29+
#### NodeJS
30+
31+
Make sure you have NodeJS and Node Package Manager ([npm](https://npmjs.org/)) installed.
32+
```bash
33+
npm install --save rdflib
34+
```
35+
36+
## Documentation
37+
38+
Possible out of date information is available from here: [http://dig.csail.mit.edu/2005/ajar/ajaw/Developer.html](http://dig.csail.mit.edu/2005/ajar/ajaw/Developer.html).
39+
40+
## Contribute
41+
42+
### Subdirectories
43+
44+
- `dist`, Run 'make' in this directory to generate dist in whch libraries are buit
45+
- `test`, Tests are here.
46+
47+
### Dependencies
48+
49+
- jQuery (rdfa version only)
50+
- jQuery, XMLHTTPRequest (Node.js version)
51+
52+
## Thanks
4553

4654
Thanks to the many contributors who have been involved along the way.
4755
LinkedData team & TimBL
4856

49-
# LICENSE
57+
## LICENSE
5058
MIT

0 commit comments

Comments
 (0)