Socket
Book a DemoInstallSign in
Socket

node-mdl-starter

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-mdl-starter

Generated by generator-node-mdl

latest
Source
npmnpm
Version
1.7.1
Version published
Maintainers
1
Created
Source

node-mdl-starter

Generated by generator-node-mdl

Package Version semantic-release Downloads Status Build Status: Linux Coverage Status PRs Welcome dependencies Status devDependencies Status code style: prettier MIT License

Why

// TODO

Installation

npm install --save node-mdl-starter

Usage

const nodeMdlStarter = require('node-mdl-starter');

nodeMdlStarter('some text');
//=> some text

Usage

import nodeMdlStarter, { isEven, isOdd } from 'node-mdl-starter';

nodeMdlStarter('some text');
//=> some text

isEven(8);
//=> true
isEven(9);
//=> false
isOdd(8);
//=> false
isOdd(9);
//=> true

If you are not able to use es-modules, you can use require instead of import

const { default: nodeMdlStarter, isEven, isOdd } = require('node-mdl-starter');

To use it directly inside a browser, load it via a script tag:

<script type="text/javascript" src="./node_modules/node-mdl-starter/dist/index.js"></script>
<script type="text/javascript">
  const { default: nodeMdlStarter, isEven, isOdd } = window['node-mdl-starter'];
</script>

// TODO

License

MIT © Avi

FAQs

Package last updated on 09 Feb 2020

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