MCPcopy Create free account
hub / github.com/npm/cli / posixPath

Function posixPath

lib/commands/init.js:13–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11const BaseCommand = require('../base-cmd.js')
12
13const posixPath = p => p.split('\\').join('/')
14
15class Init extends BaseCommand {
16 static description = 'Create a package.json file'

Callers 1

setWorkspaceMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected