Gathering detailed insights and metrics for appwrite
Gathering detailed insights and metrics for appwrite
Gathering detailed insights and metrics for appwrite
Gathering detailed insights and metrics for appwrite
npm install appwrite
89.4
Supply Chain
100
Quality
86
Maintenance
100
Vulnerability
100
License
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
294 Stars
216 Commits
61 Forks
18 Watching
15 Branches
31 Contributors
Updated on 28 Nov 2024
TypeScript (99.7%)
JavaScript (0.3%)
Cumulative downloads
Total Downloads
Last day
-4.8%
1,229
Compared to previous day
Last week
10.1%
8,565
Compared to previous week
Last month
-3.4%
35,587
Compared to previous month
Last year
125.5%
383,511
Compared to previous year
This SDK is compatible with Appwrite server version 1.6.x. For older versions, please check previous releases.
Appwrite is an open-source backend as a service server that abstract and simplify complex and repetitive development tasks behind a very simple to use REST API. Appwrite aims to help you develop your apps faster and in a more secure way. Use the Web SDK to integrate your app with the Appwrite server to easily start interacting with all of Appwrite backend APIs and tools. For full API documentation and tutorials go to https://appwrite.io/docs
To install via NPM:
1npm install appwrite --save
If you're using a bundler (like Rollup or webpack), you can import the Appwrite module when you need it:
1import { Client, Account } from "appwrite";
To install with a CDN (content delivery network) add the following scripts to the bottom of your tag, but before you use any Appwrite services:
1<script src="https://cdn.jsdelivr.net/npm/appwrite@16.0.2"></script>
For you to init your SDK and interact with Appwrite services you need to add a web platform to your project. To add a new platform, go to your Appwrite console, choose the project you created in the step before and click the 'Add Platform' button.
From the options, choose to add a Web platform and add your client app hostname. By adding your hostname to your project platform you are allowing cross-domain communication between your project and the Appwrite API.
Initialize your SDK with your Appwrite server API endpoint and project ID which can be found in your project settings page.
1// Init your Web SDK 2const client = new Client(); 3 4client 5 .setEndpoint('http://localhost/v1') // Your Appwrite Endpoint 6 .setProject('455x34dfkj') // Your project ID 7;
Once your SDK object is set, access any of the Appwrite services and choose any request to send. Full documentation for any service method you would like to use can be found in your SDK documentation or in the API References section.
1const account = new Account(client); 2 3// Register User 4account.create(ID.unique(), "email@example.com", "password", "Walter O'Brien") 5 .then(function (response) { 6 console.log(response); 7 }, function (error) { 8 console.log(error); 9 }); 10
1// Init your Web SDK
2const client = new Client();
3
4client
5 .setEndpoint('http://localhost/v1') // Your Appwrite Endpoint
6 .setProject('455x34dfkj')
7;
8
9const account = new Account(client);
10
11// Register User
12account.create(ID.unique(), "email@example.com", "password", "Walter O'Brien")
13 .then(function (response) {
14 console.log(response);
15 }, function (error) {
16 console.log(error);
17 });
You can use the following resources to learn more and get help
This library is auto-generated by Appwrite custom SDK Generator. To learn more about how you can help us improve this SDK, please check the contribution guide before sending a pull-request.
Please see the BSD-3-Clause license file for more information.
No vulnerabilities found.
Reason
all changesets reviewed
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
packaging workflow detected
Details
Reason
security policy file detected
Details
Reason
5 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 5
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2024-11-25
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More