0.7.1 • Published 8 years ago

edp-package v0.7.1

Weekly downloads
108
License
-
Repository
github
Last release
8 years ago

edp-package

Build Status Dependencies Status

Package for edp package manage.

Usage

var edpPackage = require( 'edp-package' );
edpPackage.importFromRegistry( 
    'er', 
    process.cwd(), 
    function ( error, pkg ) {
        if ( !error ) {
             console.log( 'ER is imported!' );
        }
    } 
);

API

getImported( projectDir )

获取当前已导入的包列表.

  • projectDir {string}

importFromFile( file, projectDir, callback )

从本地文件导入包.

  • file {string}
  • projectDir {string=}
  • callback {Function=}

importFromRegistry( name, projectDir, callback )

从registry导入包.

  • name {string}
  • projectDir {string=}
  • callback {Function=}
0.7.1

8 years ago

0.7.0

9 years ago

0.6.0-beta.7

10 years ago

0.6.0-beta.6

10 years ago

0.6.0-beta.5

10 years ago

0.6.0-beta.4

10 years ago

0.6.0-beta.3

10 years ago

0.6.0-beta.2

10 years ago

0.6.0-beta.1

10 years ago

0.5.6

10 years ago

0.5.5

10 years ago

0.5.4

10 years ago

0.5.4-beta.5

10 years ago

0.5.4-beta.4

10 years ago

0.5.4-beta.3

10 years ago

0.5.3

11 years ago

0.5.2

11 years ago

0.5.1

11 years ago

0.5.0

11 years ago

0.4.17

11 years ago

0.4.16

11 years ago

0.4.15

11 years ago

0.4.14

11 years ago

0.4.13

11 years ago

0.4.12

11 years ago

0.4.11

11 years ago

0.4.10

11 years ago

0.4.9

11 years ago

0.4.8

11 years ago

0.4.7

11 years ago

0.4.6

11 years ago

0.4.4

11 years ago

0.4.2

11 years ago

0.4.0

12 years ago