@wraith13/vscel
TypeScript icon, indicating that this package has built-in type declarations

0.0.54 • Public • Published

vscel

Common libraries for Visual Studio Code Extension

How to use

import vscel from "vscel";
import packageJson from "../package.json";
import localeEn from "../package.nls.json";
import localeJa from "../package.nls.ja.json";
const locale = vscel.locale.make(localeEn, { "ja": localeJa });
const configRoot = vscel.config.makeRoot(packageJson);

console.log(locale.string("Hello, world!"));

Reference

...

How to build

requires: Node.js, TypeScript Compiler

tsc -P . or tsc -P . -w

In VS Code

You can use automatic build. Run Tasks: Allow Automatic Tasks in Folder command from command palette ( Mac: F1 or Shift+Command+P, Windows and Linux: F1 or Shift+Ctrl+P), and restart VS Code.

License

Boost Software License

Readme

Keywords

Package Sidebar

Install

npm i @wraith13/vscel

Weekly Downloads

1

Version

0.0.54

License

BSL-1.0

Unpacked Size

161 kB

Total Files

48

Last publish

Collaborators

  • wraith13