- 响应式设计,支持桌面端和手机端自适应 - 首页展示轮播图、推荐歌单、热门歌曲、新碟上架、热门歌手 - 歌曲/歌手/专辑/歌单详情页 - 底部播放器:播放/暂停、上下首、进度拖动、音量控制 - 歌词同步滚动显示 - 搜索功能 - 后台管理 /admin - JSON文件存储
fs-constants
Small module that allows you to get the fs constants across Node and the browser.
npm install fs-constants
Previously you would use require('constants') for this in node but that has been
deprecated and changed to require('fs').constants which does not browserify.
This module uses require('constants') in the browser and require('fs').constants in node to work around this
Usage
var constants = require('fs-constants')
console.log('constants:', constants)
License
MIT