
Research
2025 Report: Destructive Malware in Open Source Packages
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.
@nativescript/appwrite
Advanced tools
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 Appwrite SDK for NativeScript to integrate your app with the Appwrite server to easily start interacting with all of Appwrite backend APIs and tools.
npm install @nativescript/appwrite
Register an Appwrite account here and create a project to gather your endpoint and project id.
Setup a .env file at the root of your project with the following:
APP_WRITE_ENDPOINT=https://[YOUR_APPWRITE_ENDPOINT]
APP_WRITE_PROJECT_ID=[YOUR_APPWRITE_PROJECT_ID]
Within you webpack.config.js you can also npm install dotenv --save-dev and configure it to load them:
require('dotenv').config();
module.exports = (env) => {
// rest of config
}
import { Client, Account, ID } from '@nativescript/appwrite';
const client = new Client()
.setEndpoint(process.env.APP_WRITE_ENDPOINT)
.setProject(process.env.APP_WRITE_PROJECT_ID)
.setSelfSigned(true); // for development
const account = new Account(client);
const response = await account.create(ID.unique(), 'me@company.com', 'password');
console.log('Account created:', response);
const response = await account.createEmailPasswordSession('me@company.com', 'password');console.log('Logged in:', response);
const database = new Databases(client);
const documents = await database.listDocuments('database-id', 'collection-id');
console.log('documents:', documents);
const result = await database.createDocument(
'database-id',
'collection-id',
crypto.randomUUID(),
{ message: 'Hello World' }
);
console.log('Document created:', result);
Apache License Version 2.0
FAQs
Appwrite SDK for NativeScript
The npm package @nativescript/appwrite receives a total of 1 weekly downloads. As such, @nativescript/appwrite popularity was classified as not popular.
We found that @nativescript/appwrite demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 19 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.

Research
/Security News
A five-month operation turned 27 npm packages into durable hosting for browser-run lures that mimic document-sharing portals and Microsoft sign-in, targeting 25 organizations across manufacturing, industrial automation, plastics, and healthcare for credential theft.