{
  "_args": [
    [
      "vscode-nls@https://registry.npmjs.org/vscode-nls/-/vscode-nls-2.0.1.tgz",
      "D:\\work\\3\\s\\extensions\\typescript"
    ]
  ],
  "_from": "vscode-nls@>=2.0.1 <3.0.0",
  "_id": "vscode-nls@2.0.1",
  "_inCache": true,
  "_location": "/vscode-nls",
  "_phantomChildren": {},
  "_requested": {
    "name": "vscode-nls",
    "raw": "vscode-nls@https://registry.npmjs.org/vscode-nls/-/vscode-nls-2.0.1.tgz",
    "rawSpec": "https://registry.npmjs.org/vscode-nls/-/vscode-nls-2.0.1.tgz",
    "scope": null,
    "spec": "https://registry.npmjs.org/vscode-nls/-/vscode-nls-2.0.1.tgz",
    "type": "remote"
  },
  "_requiredBy": [
    "/"
  ],
  "_resolved": "https://registry.npmjs.org/vscode-nls/-/vscode-nls-2.0.1.tgz",
  "_shasum": "7853866e33f9c50ca415e51b9640d081800e36c6",
  "_shrinkwrap": null,
  "_spec": "vscode-nls@https://registry.npmjs.org/vscode-nls/-/vscode-nls-2.0.1.tgz",
  "_where": "D:\\work\\3\\s\\extensions\\typescript",
  "author": {
    "name": "Microsoft Corporation"
  },
  "bugs": {
    "url": "https://github.com/Microsoft/vscode-nls/issues"
  },
  "dependencies": {},
  "description": "NPM module to externalize and localize VSCode extensions",
  "devDependencies": {
    "mocha": "^2.3.2",
    "typescript": "^2.0.3"
  },
  "homepage": "https://github.com/Microsoft/vscode-nls#readme",
  "license": "MIT",
  "main": "./lib/main.js",
  "name": "vscode-nls",
  "optionalDependencies": {},
  "readme": "# vscode-nls\n\n\nCommonJS module to support externalization and localization. The module only depends on Node.js however its\nprimary use case is for VSCode extensions.\n\n[![Build Status](https://travis-ci.org/Microsoft/vscode-nls.svg?branch=master)](https://travis-ci.org/Microsoft/vscode-nls)\n[![NPM Version](https://img.shields.io/npm/v/vscode-nls.svg)](https://npmjs.org/package/vscode-nls)\n[![NPM Downloads](https://img.shields.io/npm/dm/vscode-nls.svg)](https://npmjs.org/package/vscode-nls)\n\n## Usage\n\n```typescript\nimport * as nls from 'vscode-nls';\n\nlet localize = nls.config({ locale: 'de-DE' })();\n\nconsole.log(localize('keyOne', \"Hello World\"));\nconsole.log(localize('keyTwo', \"Current Date {0}\", Date.now()));\n```\n\nThe `config` call configures the nls module and should only be called once in the applications entry point. You pass in the locale you want to use and whether the resolved locale should be cached for all further calls. The config call returns a function which is used to load a message bundle. During development time the argument should stay empty. There is another tool that helps extracting the message from you sources and create the message bundles autmatically for you. The tools is available [here]().\n\nIn secondary modules loaded from the 'main' module no configuration is necessary. However you still need to load the nls module and load the message bundle. This looks like this:\n\n```typescript\nimport * as nls from 'vscode-nls';\n\nlet localize = nls.loadMessageBundle();\n\nconsole.log(localize('keyOne', \"Hello World\"));\n```\n\nDuring development time the strings in the code are presented to the user. If the locale is set to 'pseudo' the messages are modified in the following form:\n\n* vowels are doubled\n* the string is prefixed with '\\uFF3B' (Unicode zenkaku representation for [) and postfixed with '\\uFF3D' (Unicode zenkaku representation for ])\n* \n\n## History\n\n* 2.0.0: based on TypeScritp 2.0. Since TS changed the shape of the d.ts files for 2.0.x a major version number got introduce to not\n  break existing clients using TypeScript 1.8.x.\n\n## LICENSE\n[MIT](LICENSE)\n",
  "readmeFilename": "README.md",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/Microsoft/vscode-nls.git"
  },
  "scripts": {
    "compile": "tsc -p ./src",
    "prepublish": "tsc -p ./src",
    "test": "mocha",
    "watch": "tsc -w -p ./src"
  },
  "typings": "./lib/main",
  "version": "2.0.1"
}
