New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ol-wfs-capabilities

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ol-wfs-capabilities

Format for reading WFS capabilities data

  • 2.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
782
increased by53.94%
Maintainers
1
Weekly downloads
 
Created
Source

ol-wfs-capabilities

npm version npm license

Module to work alongside OpenLayers for reading WFS Capabilities data (versions 1.0.0, 1.1.0 and 2.0.0) and convert it to JSON, complementing the native classes ol/format/WMSCapabilities and ol/format/WMTSCapabilities.

OpenLayers (at least up to 8.1.0 version) does not have a native way to do this (see related issue), hence the creation of this module that does not depend on any other external dependency other than what comes with OpenLayers.

Online example

See converter to text and parse data

Usage

import WFSCapabilities from 'ol-wfs-capabilities';

const parser = new WFSCapabilities();

const parsedCapabilities = parser.read(myWfsCapabilitiesSource);

Changelog

See CHANGELOG for details of changes in each release.

Install

Parcel, Webpack, etc.

NPM package: ol-wfs-capabilities.

Install the package via npm

npm install ol-wfs-capabilities

TypeScript type definition

TypeScript types are shipped with the project in the dist directory and should be automatically used in a TypeScript project. Interfaces are provided for the Options.

Development

# install dependencies
npm install


# run test
npm test

# run test without pretest
npx jest


# run online example locally on http://localhost:3009/
npm run watch 

License

MIT (c) Gastón Zalba.

Keywords

FAQs

Package last updated on 06 Nov 2023

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc