mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-14 02:06:29 +00:00
13 lines
269 B
JavaScript
13 lines
269 B
JavaScript
const path = require('path')
|
|
const sander = require('sander')
|
|
|
|
function parse (boostnotercPath) {
|
|
if (!sander.existsSync(boostnotercPath)) return
|
|
let config = JSON.parse(sander.readFileSync(boostnotercPath).toString())
|
|
return config
|
|
}
|
|
|
|
export default {
|
|
parse
|
|
}
|