New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

get-packages

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

get-packages

Yii Packages command Node.js wrapper

  • 6.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
114
decreased by-3.39%
Maintainers
1
Weekly downloads
 
Created
Source

Get packages NPM version Build Status Dependency Status

Version: 6.0.4

Yii 1/2 Packages command Node.js wrapper

Installation

Run npm install get-packages

Usage

var gp = require('get-packages').init();

API

gp.init([options])

Options

Type: String | Object

options.applicationPath
  • Type: String
  • Default: protected
options.yiiPackagesCommand
  • Type: String
  • Default: yiic packages
options.isAbsoluteCommandPath
  • Type: Boolean
  • Default: true
options.verbose
  • Type: Boolean
  • Default: false

Methods

  • gp.init(options)
  • gp.get()
  • gp.getPackagesDistPath()
  • gp.getPackagesDistPathWithoutImageDir()
  • gp.getStylesPaths()
  • gp.getStylesPathsByFilepath(filepath, glob)
  • gp.getStylesSourcePath()
  • gp.getStylesSourcePathWithGlob(glob)
  • gp.getScriptsSourcePath()
  • gp.getScriptsSourcePathWithoutFile()
  • gp.getScriptsSourcePathWithGlob(glob)
  • gp.getScriptsSourcePathBeforeTranspiling()
  • gp.getScriptsSourcePathBeforeTranspilingWithGlob(glob)
  • gp.getScriptsToBuild()
  • gp.getScriptsToTranspiling()
  • gp.getImagesPaths()
  • gp.getImagesSourcePath()
  • gp.getImagesSourcePathWithGlob(glob)
  • gp.getFontsPaths()
  • gp.getOtherPaths()
  • gp.getExtraParamsByModule(module)
  • gp.getCustomPaths(key)
  • gp.getCustomPathsWithGlob(key)

Backward compatible methods

  • gp.getCssPaths(filepath, glob)
  • gp.getAllCssPath(glob)
  • gp.getAllJsFile()
  • gp.getAllDistPaths()
  • gp.getBuildJs()
  • gp.getImagePaths()
  • gp.getAllImagePaths(glob)
  • gp.getFontPaths()
Utilities
  • gp.util.match(filepaths, patterns, options)

Requirement

  • Yii 1/2 Packages command

License

MIT © 2021 Gergely Kovács (gg.kovacs@gmail.com)

FAQs

Package last updated on 02 Jan 2021

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