is-module

WebJar for is-module

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

is-module
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

is-module
WebJar for is-module
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/component/is-module

Download is-module

How to add to project

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

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 Module

Check whether a source string looks like an ES6 module. This doesn't actually execute the code, and doesn't check other module types. So source strings without any module loaders returns false.

This is just what I need from https://github.com/yahoo/js-module-formats, which actually executes the sauce string in a subcontext.

API

var isES6Module = require('is-module');

console.log(isES6Module('import * from "emitter";')) // => true
org.webjars.npm

Components

modular components for component

Versions

Version
1.0.0