Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Searchable in-memory object cache for Node.js
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
examples
test
.gitignore
.travis.yml
LICENSE
README.markdown
index.js
package.json

README.markdown

folsom

Searchable in-memory object cache

build status

example

var folsom = require('../index.js')
  , people = folsom('people')

// Set searchable key
people.index('name')

people.add([
  {name: 'Sue'},
  {name: 'Suzie'},
  {name: 'Susan'},
  {name: 'Suzanne'},
  {name: 'El Suzerino'},
  {name: 'The Suzster'}
])

people.search('suz', function(err, results) {
  // results === [
  //   {name: 'Suzanne'},
  //   {name: 'Suzie'},
  //   {name: 'El Suzerino'},
  //   {name: 'The Suzster'}
  // ]
})

install

With npm do:

npm install folsom

license

MIT

Something went wrong with that request. Please try again.