Official SDK for the StockAlert.pro API.
npm install @stockalert/sdkimport { StockAlert } from '@stockalert/sdk';
const client = new StockAlert({
apiKey: 'sk_your_api_key'
});
// Create alert
const alert = await client.alerts.create({
symbol: 'AAPL',
condition: 'price_above',
threshold: 200
});Full documentation: https://stockalert.pro/api/docs
MIT