const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject('') // Your project ID .setKey(''); // Your secret API key const databases = new sdk.Databases(client); const result = await databases.createFloatAttribute( '', // databaseId '', // collectionId '', // key false, // required null, // min (optional) null, // max (optional) null, // default (optional) false // array (optional) );