
Security News
Federal Audit Finds NIST Wasted Funds With No Plan to Clear NVD Backlog
Federal audit finds NIST lacked a plan to clear the NVD backlog, wasted funds on duplicate work, and delayed use of CISA data.
Standalone TypeScript/npm package for the core anet-acb data pipeline:
The package is browser-friendly and is designed to be consumed by a UI layer that handles uploads, state, and visualization.
npm install canada-acb
For local development alongside the original site:
{
"dependencies": {
"canada-acb": "file:../canada-acb"
}
}
import {
fetchExchangeRates,
generateAcbData,
parsePdfs,
exportAcbToCsv,
} from "canada-acb";
const parsed = await parsePdfs(files);
const dates = generateAcbData(parsed, {}).allDates;
const exchangeRates = await fetchExchangeRates(dates);
const data = generateAcbData(parsed, exchangeRates);
const csv = exportAcbToCsv(data.acbEntries);
Root exports include:
parsePdf, parsePdfs, extractPdfTextbuildNormalizedTransactions, collectTransactionDates, generateAcbDatacalculateAcb, summarizeByTaxYearfetchExchangeRatesexportAcbToCsv, exportTaxYearsToCsv, generateAuditReport, exportForAcbTool, generateTamperMonkeyScriptgenerateWsTamperScript (generic), generateTamperMonkeyScript (ANET-specific convenience wrapper)generateWsTamperScriptGenerates a Tampermonkey UserScript that auto-fills capital gains dispositions in WealthSimple Tax.
import { generateWsTamperScript } from 'canada-acb';
const script = generateWsTamperScript(
[
{
description: 'FOO 2024-03-15',
settlementDate: '2024-03-15',
proceeds: 1000,
costBase: 800,
expenses: 5,
},
],
2024,
{ label: 'FOO' },
);
generateTamperMonkeyScript(AcbEntry[], year) is an ANET-specific convenience wrapper around generateWsTamperScript that maps AcbEntry fields, filters in only sell transactions and passes label: 'ANET'.
Install dependencies (includes dev tooling for build, typecheck, and tests):
npm install
Unit tests use Vitest. Test files live alongside sources as src/*.test.ts.
npm test # run the suite once
npm run test:watch # re-run on file changes
Node 18+ is supported by the pinned vitest@^2 (newer majors require Node 20+).
npm run typecheck # tsc --noEmit
npm run build # tsup bundle to dist/
FAQs
Canadian ACB parsing and analysis utilities for ANET equity compensation PDFs
We found that canada-acb demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Federal audit finds NIST lacked a plan to clear the NVD backlog, wasted funds on duplicate work, and delayed use of CISA data.

Research
/Security News
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.

Research
/Security News
The North Korean malware loader hides in a Packagist-listed package and its GitHub branch to fetch and execute remote code in a likely Contagious Interview-style lure.