Skip to content

Commit f237b08

Browse files
committed
intial for npm
1 parent 7c6eebf commit f237b08

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# SunoDeno
1+
# Suno-Deno
22

3-
SunoDeno is a library designed for interacting with the Suno AI music generation service. This library provides a comprehensive set of methods to generate songs, retrieve metadata, return song links as buffer data, and more. The initial code for this library is based on the repository [hissincn/suno-ai](https://github.com/hissincn/suno-ai).
3+
Suno-Deno is a library designed for interacting with the Suno AI music generation service. This library provides a comprehensive set of methods to generate songs, retrieve metadata, return song links as buffer data, and more. The initial code for this library is based on the repository [hissincn/suno-ai](https://github.com/hissincn/suno-ai).
44

55
## Features
66

@@ -22,7 +22,7 @@ Alternatively, if you are using Deno, no additional dependencies are required.
2222

2323
## Usage
2424

25-
Here's how you can use SunoDeno to generate and retrieve song links as buffer data:
25+
Here's how you can use Suno-Ma to generate and retrieve song links as buffer data:
2626

2727
### 1. Setup
2828
Create a file named `test-my-ai-music.js` and use the following code as an example:

package.json

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
{
2-
"name": "Suno-ma",
3-
"version": "1.0.0",
2+
"name": "suno-deno",
3+
"version": "0.7",
44
"description": "A project to interact with SunoAI API",
5+
"main": "main.js",
56
"type": "module",
67
"author": "Brahim Bidi",
7-
"license": "MIT",
8-
"dependencies": {
9-
"hono": "^4.3.11"
10-
}
8+
"license": "MIT"
119
}

test-my-ai-music.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ async function main(sid, cookie) {
7575
}
7676
}
7777

78-
const cookie = "__client=eyJhbbEg";
78+
const cookie =
79+
"__client=eyJhbbEg";
7980
const sid = "sess_2gyfPonaEsXq";
8081

8182
main(sid, cookie);

0 commit comments

Comments
 (0)