Skip to content

koopero/metahash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

metahash

Splits meta and data from an object, using the # as a prefix for meta.

const metahash = require('metahash')

const object = {
  "#title": 'critters',
  'coyote': 1,
  'fox': 2,
  0: 'bear' 
}

metahash.data( object )
// { coyote: 1, fox: 2, 0: 'bear' }

metahash.meta( object )
// { title: 'critters' }

About

Splits meta and data, using the # as a prefix.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published