Skip to content

Commit

Permalink
Merge pull request #1 from leandrosimoes/chore/add-doc-badges
Browse files Browse the repository at this point in the history
chore(docs): add badges
  • Loading branch information
leandrosimoes authored Jul 13, 2023
2 parents 661eb97 + 9990fb9 commit e397690
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 5 deletions.
22 changes: 18 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

Non-official [Moises AI](https://developer.moises.ai/) API wrapper package with Typescript support

[![Codacy Badge](https://app.codacy.com/project/badge/Grade/3e0b2e2d5b9d4157a26d7faebe3f5a6f)](https://app.codacy.com/gh/leandrosimoes/moises/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
[![npm version](https://badge.fury.io/js/moises-node.svg)](https://badge.fury.io/js/moises-node)
[![Node.js Package](https://github.com/leandrosimoes/moises/actions/workflows/npmpublish.yml/badge.svg)](https://github.com/leandrosimoes/moises/actions/workflows/npmpublish.yml)
[<img src="https://img.shields.io/badge/slack-@lesimoes/help-blue.svg?logo=slack">](https://lesimoes.slack.com/messages/C05GZ1F8P44)
[<img src="https://img.shields.io/badge/discord-@lesimoes/help-blue.svg?logo=discord">](https://discord.gg/wSr8t8p4Vr)


## Install

`yarn add moises-node`
Expand All @@ -13,10 +20,17 @@ or
## How to use it?

```typescript
import { processFile, processFolder } from 'moises-node'

// types
// importing into your project
import {
processFile,
processFolder,
ProcessStatus,
ProcessFileOptions,
JobStatus,
DownloadResult
} from 'moises-node'

// types exported by the library
export type ProcessStatus =
| 'PENDING'
| 'PROCESSING'
Expand Down Expand Up @@ -70,7 +84,7 @@ export type DownloadResult = {
[key: string]: string
}

// functions
// functions exported by the library
async function processFile({
apiKey,
workflowId,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "moises-node",
"version": "1.0.3",
"version": "1.0.4",
"description": "Non-official Moises AI (https://developer.moises.ai/) API wrapper package with Typescript support",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
Expand Down

0 comments on commit e397690

Please sign in to comment.