Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

create-koa-template

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-koa-template - npm Package Compare versions

Comparing version 0.1.5 to 0.1.6

10

lib/createProjectFolder/index.js

@@ -54,3 +54,4 @@ import path from "path"

if (action === "overwrite") {
emptyFolder(targetDir)
await emptyFolder(targetDir)
return {

@@ -63,3 +64,4 @@ name,

if (action === "merge") {
handleBasedFiles(targetDir)
await handleBasedFiles(targetDir)
return {

@@ -74,3 +76,3 @@ name,

function emptyFolder(folder) {
const emptyFolder = async (folder) => {
console.log(`\nRemoving ${chalk.cyan(folder)}...`)

@@ -83,3 +85,3 @@

function handleBasedFiles(targetDir) {
const handleBasedFiles = async (targetDir) => {
const indexPath = `${targetDir}/index.js`

@@ -86,0 +88,0 @@ const packagePath = `${targetDir}/package.json`

2

package.json
{
"name": "create-koa-template",
"version": "0.1.5",
"version": "0.1.6",
"type": "module",

@@ -5,0 +5,0 @@ "description": "Helps you create KOA scaffolding efficiently",

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