Skip to content
This repository has been archived by the owner on Apr 29, 2021. It is now read-only.

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
pksunkara committed Dec 21, 2011
0 parents commit dbaeeca
Show file tree
Hide file tree
Showing 6 changed files with 99 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitignore
@@ -0,0 +1,5 @@
node_modules
npm-debug.log
*.swp
lib
docs
4 changes: 4 additions & 0 deletions .npmignore
@@ -0,0 +1,4 @@
.gitignore
docs
src
test
25 changes: 25 additions & 0 deletions Cakefile
@@ -0,0 +1,25 @@
{spawn, exec} = require 'child_process'

task 'lib', 'Generate the library from the src', ->
coffee = spawn 'coffee', ['-c', '-o', 'lib', 'src']
coffee.stdout.on 'data', (data) -> console.log data.toString().trim()

task 'docs', 'Generate the documentation from the src', ->
exec([
'rm -rf docs'
'for i in $(find src -name *.coffee)'
'do mkdir -p $(dirname $i | sed -s "s/src/docs/")'
' docco $i'
' dirs=$i; ext=""'
' while expr $(dirname $dirs) != "src"'
' do dirs=$(dirname $dirs)'
' ext="..\\/$ext"'
' done'
' ext=$ext"docco.css"'
' file="docs/"$(basename $i | sed -s "s/coffee/html/")'
' sed -i "s/docco.css/$ext/" $file'
' mv $file $(echo $i | sed -s "s/coffee/html/;s/src/docs/")'
'done'
].join('; '), (err) ->
throw err if err
)
36 changes: 36 additions & 0 deletions README.md
@@ -0,0 +1,36 @@
# nosqlite

nosqlite is a readable nosql type filesystem json store

## Installation
```
npm install nosqlite
```

## Usage

```js
```

If you like this project, please watch this and follow me.

## Testing
```
npm test
```

## Contributors
Here is a list of [Contributors](http://github.com/pksunkara/nosqlite/contributors)

__I accept pull requests and guarantee a reply back within a day__

## License
MIT/X11

## Bug Reports
Report [here](http://github.com/pksunkara/nosqlite/issues). __Guaranteed reply within a day__.

## Contact
Pavan Kumar Sunkara (pavan.sss1991@gmail.com)

Follow me on [github](https://github.com/users/follow?target=pksunkara), [twitter](http://twitter.com/pksunkara)
27 changes: 27 additions & 0 deletions package.json
@@ -0,0 +1,27 @@
{
"name": "nosqlite",
"description": "a readable nosql type filesystem json store",
"version": "0.1.0",
"author": "Pavan Kumar Sunkara <pavan.sss1991@gmail.com> (http://pkumar.github.com)",
"contributors": [
{ "name": "Pavan Kumar Sunkara", "email": "pavan.sss1991@gmail.com" }
],
"dependencies": {
},
"devDependencies": {
"docco": "*",
"coffee-script": "~1.1.3",
"vows": "~0.6.0"
},
"keywords": ["nosql", "json", "file", "couch", "filesystem", "store"],
"repository": {
"type": "git",
"url": "git://github.com/pksunkara/nosqlite.git"
},
"main": "./lib/nosqlite",
"scripts": {
"test": "vows --spec $(find test -name '*-test.coffee')",
"prepublish": "cake docs && cake lib"
},
"engines": { "node": ">= 0.4" }
}
2 changes: 2 additions & 0 deletions src/nosqlite.coffee
@@ -0,0 +1,2 @@
path = require 'path'
fs = require 'fs'

0 comments on commit dbaeeca

Please sign in to comment.