is-svg-path

WebJar for is-svg-path

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

is-svg-path
Last Version

Last Version

1.0.2
Release Date

Release Date

Type

Type

jar
Description

Description

is-svg-path
WebJar for is-svg-path
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/dfcreative/is-svg-path

Download is-svg-path

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/is-svg-path/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>is-svg-path</artifactId>
    <version>1.0.2</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/is-svg-path/
implementation 'org.webjars.npm:is-svg-path:1.0.2'
// https://jarcasting.com/artifacts/org.webjars.npm/is-svg-path/
implementation ("org.webjars.npm:is-svg-path:1.0.2")
'org.webjars.npm:is-svg-path:jar:1.0.2'
<dependency org="org.webjars.npm" name="is-svg-path" rev="1.0.2">
  <artifact name="is-svg-path" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='is-svg-path', version='1.0.2')
)
libraryDependencies += "org.webjars.npm" % "is-svg-path" % "1.0.2"
[org.webjars.npm/is-svg-path "1.0.2"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

is-svg-path build

Test if a string is an SVG path.

npm install is-svg-path

const isPath = require('is-svg-path')

isPath('M0 0L10 20 20 0Z') //true
isPath('M00Z') //false
isPath('xyz') //false

It does not validate path data nor covers edge cases like 'H0' etc., but rather detects path in real world.

Versions

Version
1.0.2