
Security News
Nx npm Packages Compromised in Supply Chain Attack Weaponizing AI CLI Tools
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
amocrm-account
Advanced tools
NodeJS библиотека для программного создания и получения списка аккаунтов AmoCRM.
NodeJS библиотека для программного создания и получения списка аккаунтов AmoCRM.
Данный проект является экспериментальным и не рекомендуется для использования в production.
Yarn:
yarn add --dev amocrm-account
npm:
npm i -D amocrm-account
import { Client } from 'amocrm-account';
const client = new Client({
domain: 'amocrm.ru', // необязательный параметр, домен amocrm, по умолчанию amocrm.ru
auth: {
username: 'AmoCRM email',
password: 'AmoCRM password'
},
session: '/home/amocrm/session.txt' // путь к файлу сессии. Хранит cookies авторизации
})
const accounts = await client.getAccounts(); // массив текущих аккаунтов, к которым пользователь имеет доступ
// проверит, доступен ли для создания портал my-account.amocrm.ru
const result = await client.isAccountAvailable('my-account'); // false/true
const result = await client.createAccount({
subdomain: 'subdomain', // в итоге будет subdomain.amocrm.ru
account_name: 'Account name' // имя аккаунта
});
FAQs
NodeJS библиотека для программного создания и получения списка аккаунтов AmoCRM.
We found that amocrm-account demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Security News
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.