Comparing version 0.2.2 to 0.2.3
@@ -0,0 +0,0 @@ #!/usr/bin/env node |
{ | ||
"name": "bv2av", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"description": "Convert new bv code of bilibili to old av code", | ||
"main": "lib/index.js", | ||
"main": "src/index.js", | ||
"types": "types/index.d.ts", | ||
@@ -11,4 +11,2 @@ "bin": { | ||
"scripts": { | ||
"tsc": "tsc --module commonjs --target es5", | ||
"rollup": "rollup -c rollup.config.js", | ||
"test": "node test/index.test.js" | ||
@@ -18,3 +16,2 @@ }, | ||
"bin", | ||
"lib", | ||
"src", | ||
@@ -38,15 +35,6 @@ "types" | ||
"devDependencies": { | ||
"@rollup/plugin-commonjs": "^11.0.2", | ||
"@rollup/plugin-json": "^4.0.2", | ||
"@rollup/plugin-node-resolve": "^7.1.1", | ||
"@types/node": "^13.9.3", | ||
"@typescript-eslint/eslint-plugin": "^2.25.0", | ||
"@typescript-eslint/parser": "^2.25.0", | ||
"eslint": "^6.8.0", | ||
"eslint-config-prettier": "^6.10.1", | ||
"eslint-plugin-prettier": "^3.1.2", | ||
"prettier": "^2.0.2", | ||
"rollup": "^2.1.0", | ||
"tslib": "^1.11.1", | ||
"typescript": "^3.8.3" | ||
"prettier": "^2.0.2" | ||
}, | ||
@@ -53,0 +41,0 @@ "dependencies": { |
# bv2av | ||
把 bilibili 新的 bv 号转回旧的 av 号。 | ||
支持[网页端直接使用](https://poppinlp.com/bv2av/)。 | ||
[![Build Status][ci-img]][ci-url] | ||
@@ -14,6 +10,8 @@ [![Dependency Status][dep-img]][dep-url] | ||
把 bilibili 新的 bv 号转回旧的 av 号。支持[网页端直接使用](https://poppinlp.com/bv2av/)。 | ||
欢迎 STAR,欢迎 PR >.< | ||
## Install | ||
By npm: | ||
```shell | ||
@@ -23,8 +21,2 @@ npm i bv2av | ||
By yarn: | ||
```shell | ||
yarn add bv2av | ||
``` | ||
## CLI | ||
@@ -40,3 +32,3 @@ | ||
模块导出了两个方法,更详细的内容,可以看 `types/index.d.ts`。 | ||
模块导出了两个方法,更详细的内容,可以看 [`types/index.d.ts`](./types/index.d.ts)。 | ||
@@ -43,0 +35,0 @@ - getBvInfo: 得到这个视频的相关信息,例如标题、封面图等等 |
@@ -0,0 +0,0 @@ interface BVInfo { |
Sorry, the diff of this file is not supported yet
4
40357
6
77
51