Package Exports
- sublevel-prefixer
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (sublevel-prefixer) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
sublevel-prefixer
Prefix a key with a sublevel prefix
npm install sublevel-prefixer
Usage
var prefixer = require('sublevel-prefixer')
var prefix = prefixer('!') // use '!' as the separator
// using string keys
console.log(prefix('my-prefix', 'my-key')) // !my-prefix!my-key
// using binary keys
console.log(prefix('my-prefix', new Buffer('my-key'))) // returns above as a bufferLicense
MIT