Socket
Socket
Sign inDemoInstall

create-app

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-app

configuring once, rendering both client and server.


Version published
Weekly downloads
155
increased by61.46%
Maintainers
1
Weekly downloads
 
Created
Source

create-app

configuring once, rendering both client and server.

Installation

Using npm:

$ npm install --save create-app
// using an ES6 transpiler, like babel
import createApp from 'create-app/client'
createApp()

import createApp from 'create-app/server'
createApp()

// not using an ES6 transpiler
var createApp = require('create-app/client')
var createApp = require('create-app/server')

Basic Usage

import createApp from 'create-app/client'

const app = createApp({
  container: 'body',
  basename: '/abc',
})

app.start(resolve, false)

let targetPath = `/random${Math.random().toString(36).substr(2, 6)}`
app.history.push(targetPath)

Keywords

FAQs

Package last updated on 23 Dec 2019

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc