git ssb

0+

mixmix / marama



Tree: ca2790e4654757e6f97c0d5cff97163c1865af61

Files: ca2790e4654757e6f97c0d5cff97163c1865af61 / lib / get-mcss.js

314 bytesRaw
1const readDir = require('read-directory')
2const { join } = require('path')
3
4module.exports = function getMcss (cb) {
5 const collection = readDir.sync(join(__dirname, '../styles'))
6
7 return values(collection).reverse().join('\n\n')
8}
9
10function values (obj) {
11 return Object.keys(obj)
12 .map(key => obj[key])
13}
14

Built with git-ssb-web