index.js
function namedLevelStore (name) {
  assert.equal(typeof name, 'string', 'named-level-store: name should be a string')
  const location = path.join(process.env.HOME, '.leveldb', name)
  mkdirp.sync(location)
  const db = level(location)
  db.location = location
  return db
}
function namedLevelStore (name) {
  assert.equal(typeof name, 'string', 'named-level-store: name should be a string')
  const location = path.join(process.env.HOME, '.leveldb', name)
  mkdirp.sync(location)
  const db = level(location)
  db.location = location
  return db
}
function namedLevelStore ( name ) { assert . equal ( typeof name , 'string' , 'named-level-store: name should be a string' ) const location = path . join ( process . env . HOME , '.leveldb' , name ) mkdirp . sync ( location ) const db = level ( location ) db . location = location return db }
Create a levelDB instance on your local machine str -> obj
Create a levelDB instance on your local machine str - > obj