video.js是一個比較完整和成熟的播放器框架,包含了整套的UI、彈幕、快捷鍵、清晰度切換等插件功能,不管用來作點播仍是直播都是很是合適的。node
hls.js是很是小巧的適合於hls類型的直播和點播git
flv.js是B站開源的flv格式的播放器,適合於flv類型的直播github
1.全局安裝eslintnpm
npm install eslint -g
2.開發目錄下初始化一個package.jsonjson
npm init
3.配置eslintpromise
eslint --init
配置選項以下:框架
? How would you like to configure ESLint? Use a popular style guide ? Which style guide do you want to follow? Standard (https://github.com/standard/standard) ? What format do you want your config file to be in? JavaScript Checking peerDependencies of eslint-config-standard@latest Local ESLint installation not found. The config that you've selected requires the following dependencies: eslint-config-standard@latest eslint@>=5.0.0 eslint-plugin-import@>=2.13.0 eslint-plugin-node@>=7.0.0 eslint-plugin-promise@>=4.0.0 eslint-plugin-standard@>=4.0.0 ? Would you like to install them now with npm? Yes
若是安裝後出現警告說eslint-config-standard須要一個大於等於某個版本號的eslint,可是沒有安裝的,須要手動安裝:ide
npm install eslint@>=版本號