class Npm extends AnyRef
A JVM class for performing NPM commands. Requires a JS engine to use.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Npm
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new Npm(engine: Engine, npmFile: Option[File] = None, preferSystemNpm: Boolean = true, verbose: Boolean = false)
-
new
Npm(engine: Engine, npmFile: File, verbose: Boolean)
- Annotations
- @deprecated
- Deprecated
(Since version 1.3.0) Use one of the other non-deprecated constructors instead
-
new
Npm(engine: Engine, npmFile: File)
- Annotations
- @deprecated
- Deprecated
(Since version 1.3.0) Use one of the other non-deprecated constructors instead
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
ci(names: Seq[String] = Nil, outSink: (String) ⇒ Unit, errSink: (String) ⇒ Unit): JsExecutionResult
https://docs.npmjs.com/cli/commands/npm-ci
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
install(global: Boolean = false, names: Seq[String] = Nil, outSink: (String) ⇒ Unit, errSink: (String) ⇒ Unit): JsExecutionResult
https://docs.npmjs.com/cli/commands/npm-install
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
update(global: Boolean = false, names: Seq[String] = Nil, outSink: (String) ⇒ Unit, errSink: (String) ⇒ Unit): JsExecutionResult
https://docs.npmjs.com/cli/commands/npm-update
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()