Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More β†’
Socket
Sign inDemoInstall
Socket

@nexssp/cli

Package Overview
Dependencies
Maintainers
1
Versions
239
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nexssp/cli

Nexss PROGRAMMER - Over 50 programming languages together..

  • 2.5.74
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
Β 
Created
Source

NEW NEXSS PROGRAMMER 2.5

Now you can also use Nexss Programmer as separate tools and as a full cli tool: @nexssp/cli

Latest news

Next versions (soon)

  • New file type: .vue - you will be able to serve your vue files and start your development quickly by command: nexss myapp.vue --serve
  • Separate, secure server package

New functionalities

Nexss Programmer has been tested on Windows 11. If you will notice any issues please create new issue.

Display help about any language with nexss [ext] help

nexss py help # diplays more info about available commands / per language

Now you can create new different types of projects with hot reloading easy:

  • Vue3
  • Vue2
  • React17
  • Preact
nexss p vue2 myvue2-project # creates new vue2 project with hotreloading.
nexss p vue2 myvue2-project --install # -- install all needed libs
nexss p react17 react17-project # creates new react17 project with hotreloading.
# the same --install cen be used here.

Cli tools and libraries

Libraries

βœ… npm i @nexssp/cli -g #  Or npx @nexssp/cli
nexss help

Welcome to      ____
|..          | |             ``..      ..''             ..''''             ..''''
|  ``..      | |______           ``..''              .''                .''
|      ``..  | |                 ..'`..           ..'                ..'
|          ``| |___________  ..''      ``.. ....''             ....''
Programmer

NOTE: If there is anything which doesn't work please create new issue and it will be solved immediately as we have a lot of emails and email issues can be delayed..Thank you! πŸ’—

Overview | List of Languages | Installation | Documentation | Tutorials | Blog


License Repository size License

βœ… Nexss Programmer functionalities

βœ” Easy programming for multiplatform in over 50 programming languages,
βœ” Windows 10 and 11, Linux: tested on: Alpine, Amazon, Arch, CentOS, Debian, Fedora, FreeBSD, Gentoo,Mint, Oracle, Rhel, Suse Leap, Suse TumbleWeed, Ubuntu and soon MacOS,
βœ” NodeJS versions: 12+ => 12.x, 14.x, 15.x, 16.x, 17.x
βœ” Over 50 programming languages: Ada, Auto Hot Key, Autoit, Bash, Basic, Batch, C, Clojure, Coconut, Coffee Script, C++, Crystal, CSharp, D, Dart, Elixir, Erlang, Fortran, Go, Groovy, Haskell, Haxe, Hy, Java, JSON, Julia, Kotlin, LiveScript, Lua, Nexss, Nim, NodeJS, Octave, Perl, PHP, PowerShell, Pure Data, Python 2 & 3, R, Racket, Raku, Ruby, Rust, Scala, TCL/TK, Typescript, V, VBScript, Windows Scripting Host, Zig

πŸ”₯ Nexss Programmer is not only a cli tool πŸ”§ which helps to:

βœ… Easy and intuitively install programming environments

Example:

  • nexss r install OR nexss py install OR nexss php install OR ..

  • nexss [language file extension] install

  • NEW: easy shortcuts: nexss py d (creates file with default template), nexss py h (with helloWorld template), nexss py e (and empty file - if exists in the templates - !empty.[extension]) (2.4.8+)

βœ… Compile, compose over 50 programming languages

if there is no compiler installed, nexss programmer will install it automatically.

  • nexss program.r
  • nexss program.[any extension]
  • npx @nexssp/cli program.r # without installing nexss
  • nexss file add my.rs --edit # Will open list of templates to select from for particular language, install editor (if not exists) and open file for editing.

βœ… Run any programming language in seconds (eg. Google Colab Notebook)

!npm i -g @nexssp/cli
!nexss f a my.r --helloWorld # Add template
!nexss my.r # run program
# {"HelloFromR":"4.0.5","nexss":"2.2.35"}
!nexss Id # run Id package
# {"nxsOut":"cknvpfni00000blqefsh37hwa","nexss":"2.2.35"}
!nexss f a my.cpp --helloWorld # Add template
!nexss my.cpp
# {"outputCPP":"Hello from C++ 17!","nexss":"2.2.35"}

βœ… And much, much more..

πŸ”„NOTE: Upgrade to the latest versions

  • npm upgrade -g @nexssp/cli # upgrade nexss programmer
  • nexss l u # the same as nexss langauge update // Updating all installed language definitions
  • nexss pkg u # the same as nexss package update // Updating all installed Nexss Programmer Packages
  • nexss cache rebuild # rebuilding cache // handy when developing new language configurations (now is over 50)

Nexss Programmer Presentation (Youtube video):
Nexss Programmer Presentation

Functions

  • --nxsI - interactive mode. When you need input from the user, use this flag.

Example commands

Note: nxsOut is a default output/variable/field from a package, or function if use with Nexss Programmer project. You can change it by --nxsOut

Installation

npm i @nexssp/cli -g # install nexss programmer globally. Run everywere
npm init && npm i @nexssp/cli@2.4.20 # install per project

Helper Functions

nexss -help # displays all available helper functions
nexss -env # displays environment info: versions, paths, package managers etc. (nexssp-os env)

Create new files from templates

# Below we use package Id which generates unique Id (shorcuts)
nexss py h # it will create new helloWorld template for python
nexss js d # new default template for NodeJS
nexss v e # new empty template for Vlang

nexss file add my.r # it will show new templ
nexss file add my.r help # displays help for function
nexss Id help # displays help for package (Id is a Nexss Programmer's package)

Compile programs / Installing programming environments

npx nexss program.r # without installing, just compile and run program
nexss helloWorld.py # it will compile program (if compiler does not exist, it will be installed)
nexss php run "print('x');" # 2.2.37+
nexss file add my.rs --edit # Will open list of templates for particular language, install editor (if not exists) and open file for editing.

Packages

Global packages

Nexss Programmer has custom packages, written to show the possibilities of it. For example below there is a global package Id. To run it nexss Id. To see help nexss Id help. Every package in the nexss programmer is just a Nexss Programmer Project. You can add your own packages to global folder. Use nexss -env to see packages folder.

nexss Id # Generates Id in the nxsOut
nexss Id --nxsAs="X" # if nxsAs it will be saved as
nexss Id --nxsAs="X" --server # it will start a server
nexss Id --nxsField # nxsField can be used for select data from some field.
# Above nxsField is the same as nxsField=nxsOut
nexss https://nexss.com --nxsField --server # As nexss [url] reads url, with --server it will serve the url on 127.0.0.1:9369

Custom Packages

You can also run commands/packages/projects as absolute urls eg.

nexss /my/absolute/url --param=1
Nexss Programmer - How it works?
Stage 1

At first Nexss Programmer checks if the first argument passed is folder or file (program. eg myprogram.py).

Folder

If it is a folder it will check if there is a _nexss.yml file inside, which is basically a config for Nexss Programmer package. If it is there then it will run this package. As you will find out more Nexss Programmer package can contain many programming languages solutions.

File

If it is a file (other then .nexss) it will go and generate file definition (1 in this case). You can see what is beeing generated by adding --nxsDryFiles

nexss my.nexss --nxsDryFiles # Will show files collected (which will be run) in order with all the parameters
{
  "name": "^^dir",
  "input": [
    {
      "name": "file",
      "validate": [
        {
          "type": "required"
        }
      ]
    }
  ],
  "specialArgs": [],
  "lineNumber": 9,
  "path": "/root/.nexss/packages/@dev/!Exec",
  "filename": "/root/.nexss/packages/@dev/!Exec/my.nexss"
}

nexss.my.nexss --nxsDry # will show the streams which are generated, with compilers, builders

βœ… WIP - Add more here later..

NOTE

Nexss Programmer apart from being innovative technology, uses great libraries and technologies. Please consider also support them.

For some of the languages compiler installations for Windows we use great Scoop from Luke Sampson. Please also consider support him.

Thank you.

More here: Nexss.com

Job Openings

Guys, we are looking for people who are willing to join our team. Please see latest job openings: https://nexss.com/nexss-career.html

Please consider supporting our work

If you really like Nexss.com and our work, including Nexss Programmer, the sources of it please consider support us. You can either use Ethereum, PayPal or Github sponsorship for donations. Thank you!

Ethereum: 0xBFdA63dF06Fab2ddC08099257e4a419f8eecd991.
Through PayPal
Become a sponsor with Github

Note for Windows 10 and 11 Python users

On Windows OS there are default files python.exe and python3.exe and they pointing to the shop which causing that is hard to install Python from other sources and issue appeared for many users. If you wish to use different Python distributions eg. provided by the Nexss Programmer please run below command. NOTE: you may want to make a backup to your files before deleting them entirely.

# It will delete python.exe and python3.exe which point to the shop.
Remove-Item $env:USERPROFILE\AppData\Local\Microsoft\WindowsApps\python*.exe

You may need to install Python manually if any other issues appear and then use Nexss Programmer. It will recognize any installed python and you should be able to use the Nexss Programmer without any issues.

Keywords

FAQs

Package last updated on 25 Nov 2021

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚑️ by Socket Inc