Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wraith13/vscel
Common libraries for Visual Studio Code Extension
https://github.com/wraith13/vscel
visual-studio-code vscode vscode-extension
Last synced: 3 months ago
JSON representation
Common libraries for Visual Studio Code Extension
- Host: GitHub
- URL: https://github.com/wraith13/vscel
- Owner: wraith13
- License: bsl-1.0
- Created: 2020-07-23T20:33:29.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-07-21T14:56:04.000Z (over 1 year ago)
- Last Synced: 2024-09-29T08:02:36.871Z (3 months ago)
- Topics: visual-studio-code, vscode, vscode-extension
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/@wraith13/vscel
- Size: 110 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE_1_0.txt
Awesome Lists containing this project
README
# vscel
Common libraries for Visual Studio Code Extension
## How to use
```typescript
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](https://nodejs.org/), [TypeScript Compiler](https://www.npmjs.com/package/typescript)
`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](./LICENSE_1_0.txt)