NeXTSTEP Programming Mastermind

npm

Need private packages and team management tools?Check out npm Orgs. »

jasop

0.0.2 • Public • Published

Travis CI Build Status CodeFactor Score

Jasop

NPM

A window.open JavaScript wrapper.

Importing

From your NodeJS application:

const Jasop = require("jasop")

From your web application:

<script src="https://unpkg.com/jasop/jasop.min.js"></script>

Usage

// Will parse as: window.open("https://example.com", "MyWindow", "height=100,scrollbars=yes,width=200", true)
Jasop(
    "https://example.com", // URL
    {
        height: 100, // You can use any window.open option
        scrollbars: true // Booleans will the parsed
        width: 200, // Everything else will be converted to a string
        title: "MyWindow", // Custom window title
        replace: true // History behaviour
    }
)

Keywords

none

install

npm i jasop

Downloadsweekly downloads

6

version

0.0.2

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability