New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@tsdi/annotations

Package Overview
Dependencies
Maintainers
1
Versions
142
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tsdi/annotations

Typescript class annotations for ioc, it is a solution for typescript class compile to es5 uglify. for project used tsioc to es5 uglify

latest
Source
npmnpm
Version
6.0.48
Version published
Weekly downloads
30
200%
Maintainers
1
Weekly downloads
 
Created
Source

packaged @tsdi/annotations

This repo is for distribution on npm. The source for this module is in the main repo. Please file issues and pull requests against that repo.

typescript class annotations is a solution for typescript class compile to es5 uglify. for project used tsioc to es5 uglify.

Install

You can install this package either with npm.

npm


npm install @tsdi/annotations --save-dev

Demo

import { classAnnotations } '@tsdi/annotations';
const ts = require('gulp-typescript');
gulp.src('src/**/*.ts')
    .pipe(classAnnotations())
    .pipe(ts)

Demo for pack build

@Pack({
    baseURL: __dirname,
    src: 'src',
    clean: 'lib',
    test: 'test/**/*.spec.ts',
    assets: {
        ts: { dest: 'lib', annotation: true, uglify: false }
    }
})
export class AnnoBuilder {
}


pk build [taskfile.ts]

https://github.com/zhouhoujun/tsioc.git

Documentation

Documentation is available on the

License

MIT © Houjun

Keywords

annotations

FAQs

Package last updated on 17 Feb 2023

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