diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 182d1ad..92b9cc5 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: - node-version: [10.x, 12.x, 14.x, 15.x] + node-version: [14.x] steps: - uses: actions/checkout@v2 diff --git a/README.md b/README.md index fd32635..a8c1b63 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,6 @@ Need support? _[Click here](https://discord.gg/yyW389c)_ ## Installation: -# - ### NPM ```bash @@ -21,7 +19,7 @@ $ yarn add anime-facts ``` ### Query parameters _[ OPTIONAL ]_ -# + | Parameters | Type | Description | | :-------- | :------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | tags | `String` | Filter random fact by tag(s). Takes a list of one or more tag names, separated by a comma (meaning `AND`) or a pipe (meaning `OR`). A comma separated list will match facts that have **_all_** of the given tags. While a pipe (`\|`) separated list will match facts that have **_either_** of the provided tags.| | @@ -29,7 +27,7 @@ $ yarn add anime-facts | maxLength | `Int` | The maximum Length in characters ( can be combined with `minLength` ) | ## Usage: -# + ```javascript const { getFact } = require("anime-facts"); @@ -51,13 +49,11 @@ getFact(null, 1, 100).then((fact) => console.log(fact)); ``` ## Functions -# | **Functions** | **Description** | **Usage** | | :-----------: | ---------------------------- | ------------------ | | getFact | Generate random anime facts. | `random.getFact()` | ## Credits -# [@LamkasDev](https://github.com/LamkasDev) for adding facts to prior database. _PR [#1](https://github.com/notkyoyo/anime-facts/pull/1)_\ [@xMercyTheDeveloper](https://github.com/xMercyTheDeveloper) for adding a fact to prior database. _PR [#2](https://github.com/notkyoyo/anime-facts/pull/2)_\ [@Lioness100](https://github.com/Lioness100) for adding types and improving codes in version [2.2.6](https://www.npmjs.com/package/anime-facts/v/2.2.6). _PR [#3](https://github.com/notkyoyo/anime-facts/pull/3) and [#4](https://github.com/notkyoyo/anime-facts/pull/4)_ diff --git a/package-lock.json b/package-lock.json index 339c1f5..c301c11 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "anime-facts", - "version": "2.2.6", + "version": "3.2.7", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 03634a9..0171de7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "anime-facts", - "version": "3.2.6", + "version": "3.2.7", "description": "Generate random anime facts.", "main": "index.js", "types": "index.d.ts",