Skip to content
This repository has been archived by the owner on Jun 13, 2022. It is now read-only.

Commit

Permalink
Merge pull request #6 from MattPlays/nightly
Browse files Browse the repository at this point in the history
2.02
  • Loading branch information
Artrix9095 authored Mar 3, 2022
2 parents 64c3d0c + 0eca384 commit 86bb317
Show file tree
Hide file tree
Showing 53 changed files with 739 additions and 1,049 deletions.
38 changes: 0 additions & 38 deletions .github/workflows/main.yml

This file was deleted.

24 changes: 24 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages

name: Node.js Package

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 17
registry-url: https://registry.npmjs.org/
- run: npm install
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,5 @@ typings/
.gitattributes

old-*
test.js
test.js
dist
6 changes: 6 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
*
!dist/*
!package.json
!package-lock.json
!LICENSE
!README.md
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# AniAPI.js
A Javascript wrapper for [aniapi](https://aniapi.com)

A Javascript wrapper for [aniapi](https://aniapi.com)
Maintained by: @Artrix9095 @MattPlays

# Installation

```bash
npm i @mattplays/aniapi
```
Expand All @@ -11,9 +14,10 @@ npm i @mattplays/aniapi
To get your JWT login to ANIAPI [here](https://aniapi.com/login)

```javascript
const ANIAPI = require("@mattplays/aniapi");
const API = new ANIAPI.API("DUMMY_JWT");
const ANIAPI = require('@mattplays/aniapi');
const API = new ANIAPI.API('DUMMY_JWT');
```

# License

MIT License - Copyright (c) 2021 MattPlays [License](https://github.com/MattPlays/AniAPI-Wrapper/blob/main/LICENSE)
49 changes: 0 additions & 49 deletions config.js

This file was deleted.

88 changes: 0 additions & 88 deletions dist/API/handlers/Anime.d.ts

This file was deleted.

15 changes: 0 additions & 15 deletions dist/API/handlers/Anime.js

This file was deleted.

41 changes: 0 additions & 41 deletions dist/API/handlers/Episode.d.ts

This file was deleted.

9 changes: 0 additions & 9 deletions dist/API/handlers/Episode.js

This file was deleted.

31 changes: 0 additions & 31 deletions dist/API/handlers/Filters.d.ts

This file was deleted.

25 changes: 0 additions & 25 deletions dist/API/handlers/Filters.js

This file was deleted.

Empty file removed dist/API/handlers/Resource.d.ts
Empty file.
10 changes: 0 additions & 10 deletions dist/API/handlers/Resource.js

This file was deleted.

Loading

0 comments on commit 86bb317

Please sign in to comment.