Security News
The Dark Side of Open Source
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
@types/leaflet.awesome-markers
Advanced tools
Readme
npm install --save @types/leaflet.awesome-markers
This package contains type definitions for Leaflet.awesome-markers plugin (https://github.com/sigma-geosistemas/leaflet.awesome-markers).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/leaflet.awesome-markers.
// Type definitions for Leaflet.awesome-markers plugin 2.0
// Project: https://github.com/sigma-geosistemas/leaflet.awesome-markers
// Definitions by: Marcel Sebek <https://github.com/sebek64>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
import * as Leaflet from "leaflet";
declare module 'leaflet' {
namespace AwesomeMarkers {
const version: string;
interface AwesomeMarkersIconOptions extends BaseIconOptions {
/**
* Name of the icon. See glyphicons or font-awesome.
*/
icon?: string | undefined;
/**
* Select de icon library. 'fa' for font-awesome or 'glyphicon' for bootstrap 3.
*/
prefix?: 'fa' | 'glyphicon' | undefined;
/**
* Color of the marker
*/
markerColor?: 'red' | 'darkred' | 'orange' | 'green' | 'darkgreen' | 'blue' | 'purple' | 'darkpurple' | 'cadetblue' | undefined;
/**
* Color of the icon. 'white', 'black' or css code (hex, rgba etc).
*/
iconColor?: 'white' | 'black' | string | undefined;
/**
* Make the icon spin. true or false. Font-awesome required
*/
spin?: boolean | undefined;
/**
* Additional classes in the created tag
*/
extraClasses?: string | undefined;
}
function icon(options: AwesomeMarkersIconOptions): Icon;
class Icon extends Leaflet.Icon<AwesomeMarkersIconOptions> {
constructor(options?: AwesomeMarkersIconOptions);
}
}
}
These definitions were written by Marcel Sebek.
FAQs
TypeScript definitions for leaflet.awesome-markers
The npm package @types/leaflet.awesome-markers receives a total of 749 weekly downloads. As such, @types/leaflet.awesome-markers popularity was classified as not popular.
We found that @types/leaflet.awesome-markers 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
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
Research
Security News
The Socket Research team found this npm package includes code for collecting sensitive developer information, including your operating system username, Git username, and Git email.
Security News
OpenJS is warning of social engineering takeovers targeting open source projects after receiving a credible attempt on the foundation.