Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
evm-angular2-baidu-map
Advanced tools
Baidu-Map module for Angular5
Read full documentation here: documentation
Read code example here: example
Be aware that it is a totally rewrite version, therefore, backward compatibility is not considered
If you are using the previous version
3.x
, read it here
npm install angular2-baidu-map
app.module.ts
import { BrowserModule } from '@angular/platform-browser'
import { NgModule } from '@angular/core'
import { AppComponent } from './app.component'
import { BaiduMapModule } from 'angular2-baidu-map'
@NgModule({
declarations: [AppComponent],
imports: [BrowserModule, BaiduMapModule.forRoot({ ak: 'your ak' })],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule {}
app.component.ts
import { Component } from '@angular/core'
import { MapOptions } from 'angular2-baidu-map'
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: []
})
export class AppComponent {
options: MapOptions
constructor() {
this.options = {
centerAndZoom: {
lat: 39.920116,
lng: 116.403703,
zoom: 16
},
enableKeyboard: true
}
}
}
app.component.html
<baidu-map [options]="options" style="display: block; width: 550px; height: 350px;"></baidu-map>
For more information, see documentation
FAQs
Angular2 component for Baidu map,modified by angular2-baidu-map
The npm package evm-angular2-baidu-map receives a total of 0 weekly downloads. As such, evm-angular2-baidu-map popularity was classified as not popular.
We found that evm-angular2-baidu-map 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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.