Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    ismodulepublic

    isModule Build Status

    Test if a string is an es6 module.

    npm install --save ismodule;

    var isModule = require('ismodule');
     
    isModule('export default 9'); //true
    isModule('let b = "export default 9"'); //false

    Keywords

    none

    install

    npm i ismodule

    Downloadsweekly downloads

    11

    version

    0.1.1

    license

    ISC

    repository

    githubgithub

    last publish

    collaborators

    • avatar