Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jio
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Xiaowu Zhang
jio
Commits
c258f3a8
Commit
c258f3a8
authored
Oct 12, 2012
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add attractive first lines to README.md Documentation
parent
023ff6c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
0 deletions
+30
-0
README.md
README.md
+30
-0
No files found.
README.md
View file @
c258f3a8
Javascript Input/Output
=======================
Powerful, Intelligent, and Intuitive back-end to write over the internet
========================================================================
How easy is it to get, save or remove a document?
-------------------------------------------------
```
// get 'document.txt'
jio.get('document.txt',function (err, val) {
console.log (err || val.content);
});
// update 'document.txt'
jio.put({_id:'document.txt',content:'newcontent'}, function (err, val) {
console.log (err || val);
});
// get a list of documents
jio.allDocs(function (err, val) {
console.log (err || val.total_rows);
});
// remove 'document.txt'
jio.remove ({_id:'document.txt'}, function (err, val) {
console.log (err || val);
});
```
Documentation Index
===================
+
[
What is jIO?
](
#what-is-jio
)
+
[
How does it work?
](
#how-does-it-work
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment