Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
aiesec-datepicker
Advanced tools
This is a forked version of the original ng2-datepicker package
This is a forked version of the original ng2-datepicker package
Angular 2+ Simple and minimal datepicker component
npm
.npm install aiesec-datepicker --save
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { NgDatepickerModule } from 'aiesec-datepicker';
@NgModule({
imports: [
BrowserModule,
NgDatepickerModule
],
declarations: [ AppComponent ],
exports: [ AppComponent ]
})
export class AppModule {}
<ng-datepicker [(ngModel)]="date" />
Name | Type | Default | Description |
---|---|---|---|
headless | boolean | false | Disable datepicker's input |
isOpened | boolean | false | Show or hide datepicker |
position | string | bottom-right | Dropdown position (bottom-left , bottom-right , top-left , top-right ) |
import { DatepickerOptions } from 'aiesec-datepicker';
import * as frLocale from 'date-fns/locale/fr';
options: DatepickerOptions = {
minYear: 1970,
maxYear: 2030,
displayFormat: 'MMM D[,] YYYY',
barTitleFormat: 'MMMM YYYY',
dayNamesFormat: 'dd',
firstCalendarDay: 0, // 0 - Sunday, 1 - Monday
locale: frLocale,
minDate: new Date(Date.now()), // Minimal selectable date
maxDate: new Date(Date.now()), // Maximal selectable date
barTitleIfEmpty: 'Click to select year',
placeholder: 'Enter Date'
};
For available format
options check out here.
git clone https://github.com/Manzurkds/ng2-datepicker.git
cd ng2-datepicker
npm install
npm start
MIT
FAQs
This is a forked version of the original ng2-datepicker package
The npm package aiesec-datepicker receives a total of 1 weekly downloads. As such, aiesec-datepicker popularity was classified as not popular.
We found that aiesec-datepicker 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
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.