
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
ng-calendar-heatmap
Advanced tools
Install npm i --save ng-calendar-heatmap
Install dependencies npm i --save d3 moment
Import module into app.module.ts
:
...
import { CalendarHeatmapModule } from 'ng-calendar-heatmap';
...
@NgModule({
...
imports: [
BrowserModule,
CalendarHeatmapModule
],
...
<ng-calendar-heatmap [data]="calendarData" [options]="calendarOptions"></ng-calendar-heatmap>
export interface CalendarData {
date: Date;
count: number;
}
export interface CalendarOptions {
width?: number;
height?: number;
responsive?: boolean;
legendWidth?: number;
SQUARE_LENGTH?: number;
SQUARE_PADDING?: number;
MONTH_LABEL_PADDING?: number;
DAY_WIDTH?: number;
MONTH_LABEL_HEIGHT?: number;
now?: Date;
yearAgo?: Date;
startDate?: Date;
max?: number;
staticMax?: boolean;
colorRange?: any[];
tooltipEnabled?: boolean;
tooltipUnit?: any;
legendEnabled?: boolean;
onClick?: (data?: CalendarData) => void;
weekStart?: CalendarWeekStart;
locale?: CalendarLocale;
}
export enum CalendarWeekStart {
SUNDAY = 0,
MONDAY = 1
}
export interface CalendarLocale {
months: string[];
days: string[];
no: string;
on: string;
less: string;
more: string;
}
git clone git@github.com:fischer-matthias/ng-calendar-heatmap.git
npm install
ng build ng-calendar-heatmap --watch
ng serve
FAQs
D3 calendar heatmap for angular
We found that ng-calendar-heatmap 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.