Socket
Socket
Sign inDemoInstall

@nexjs/cli

Package Overview
Dependencies
342
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @nexjs/cli

``` nex [namespace] [commnad] [args] ```


Version published
Weekly downloads
493
increased by6.02%
Maintainers
1
Install size
93.4 MB
Created
Weekly downloads
 

Readme

Source

nex ecosystem cli

command

nex [namespace] [commnad] [args]
namespacecommandparamsdescriptions
wsgenerate-ts-clientnex-cli.json filecreate javascript wsclient from server package @nexjs/ws decorators
wsgenerate-cs-clientnex-cli.json filecreate c# wsclient from server package @nexjs/ws decorators

ws namespace

generate-ts-client

command arguments

nex-cli.json configuration file

{
    "ws": {
        "generate-ts-client": {
            "outDir": "../template.api.wsclient-ts",
            "packageName": "@template/api.wsclient",
            "packageVersion": "0.0.1",
            "suffix": ".contract.ts",                // files that contains decorators @Rest or @Hub
            "models": {
                "source": "./src/models",
                "importsToRemove": [
                    "@nestjs/swagger"
                ],
                "decoratorsToRemove": [
                    "ApiProperty"
                ]
            }
        }
    }
}

FAQs

Last updated on 08 May 2021

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc