
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
forecast-api
Advanced tools
A Forecast ([https://forecastapp.com](forecastapp.com)) API wrapper for Node.js.
A Forecast (https://forecastapp.com) API wrapper for Node.js.
Via npm:
$ npm install forecast-api
You will need a Forecast account, accountId and authorization token.
The easiest way to determine your accountId and authorization token is by logging in to Forecast from Google Chrome and using the web inspector > Network tab to see one of the request(s) being made.
Observe a request and note the accoundId and authorization from the request header.
var Forecast = require('forecast-api');
var forecast = new Forecast({
accountId: '12345',
authorization: 'Bearer 9876.-EXAMPLETOKEN'
});
forecast.people(function(err, people) {
if (err) {
throw err;
}
console.log(people);
});
forecast.clients(function(err, clients) {
if (err) {
throw err;
}
console.log(clients);
});
forecast.projects(function(err, projects) {
if (err) {
throw err;
}
console.log(projects);
});
Assignments supports the following options (see below for more details):
startDate
endDate
var options = {
startDate: new Date(),
endDate: new Date(2014, 11, 25)
};
forecast.assignments(options, function(err, assignments) {
if (err) {
throw err;
}
console.log(assignments);
});
Assignments can also be called without options and will use a default start and end date.
forecast.assignments(function(err, assignments) {
if (err) {
throw err;
}
console.log(assignments);
});
Milestones supports the following options (see below for more details):
startDate
endDate
forecast.milestones({ startDate: moment(), endDate: moment().add(5, 'days') }, function(err, milestones) {
if (err) {
throw err;
}
console.log(milestones);
});
Milestones can also be called without options.
forecast.milestones(function(err, milestones) {
if (err) {
throw err;
}
console.log(milestones);
});
startDate
- a native date object, a moment.js date object or an ISO-8601 compatible date string.endDate
- a native date object, a moment.js date object or an ISO-8601 compatible date string.FAQs
A Forecast ([https://forecastapp.com](forecastapp.com)) API wrapper for Node.js.
The npm package forecast-api receives a total of 2 weekly downloads. As such, forecast-api popularity was classified as not popular.
We found that forecast-api 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
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.