Socket
Book a DemoInstallSign in
Socket

mytype

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
Package was removed
Sorry, it seems this package was removed from the registry

mytype

Typescript definition manager

unpublished
latest
npmnpm
Version
0.0.6
Version published
Maintainers
1
Created
Source

Introduction

Type-manager is a package-manager for typescript-definitions, mytype-cli is the command-line-client for the type-manager-service, which allows you to install definition-files such as .d.ts and publish your own definition-files on the service.

THIS PROJECT IS UNSTABLE AND CURRENTLY UNDER DEVELOPMENT, PLEASE REPORT ANY KIND OF BUGS, ISSUES AND FEATURE-SUGGESTIONS TO CREATE A HANDY AND STABLE PRODUCT.

Installation

sudo npm install mytype -g 

Usage

To print the help list of the commandline actions, just enter mytype -h to get the basic information.

Project Setup && Package.json

To define your project-definition-dependencies, just define this following object in your package.json file:

"typescript": {
  "dependencies": {
    "node": "0.10.0",
    "async": "0.0.1"
  }
}

after this definition you can execute the action install, when all dependencies are found, the folder typings/ should contain all required defintion-files.

Publish your project-definition

To define the summary definitions of your module, add this following property in your typescript object:

"typescript": {
    "definition": "dist/index.d.ts",
    "dependencies": {
        "node": "0.10.0",
        "async": "0.0.1"
  }
}

by execute the command-line-action link, your defintion should be linked on the type-manager server.

INFO:

  • A loggged user has to be active to use this action.
  • The type-manger-service contains only the references from github-repository, we also lock the current-branch of the repository.

Keywords

typescript

FAQs

Package last updated on 16 Nov 2015

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