Skip to content

Instantly share code, notes, and snippets.

@brevity
Created April 26, 2017 20:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brevity/a318e4adcfcf61febd8ca542e882fbc9 to your computer and use it in GitHub Desktop.
Save brevity/a318e4adcfcf61febd8ca542e882fbc9 to your computer and use it in GitHub Desktop.
null created by brevity - https://repl.it/H2m8/0
// a mock would look like...
let daily = [
{
//....
},
{
name: `2017-01-01.md`,
path: `/User/brevity/code/notes/2017-01-01.md`,
stat: {
blocks: 8
// & other props from fs.lstatSync() on the path
},
md : `Contents of the .md file
========================
- __woot__
- 'n
- _stuff_
`
},
{
//....
}
]
console.dir(daily, {dir:5})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment