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

@nexssp/language

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nexssp/language

All about programming languages - history, founders, how to install, package managers, logo..

  • 1.1.10
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
7
increased by40%
Maintainers
1
Weekly downloads
 
Created
Source

@nexssp/language

Programming Languages database, templates, info..

Note

This Nexss Programmer's plugin is the effect of the refactoring the Nexss Programmer @nexssp/cli which development has been started in 2018. This module can be used also separately without the Nexss Programmer.

Commands

nexssp-language list
nexssp-language [ext] install # install language from over 50 of them, see above list
nexssp-language installed # installed languages

nexssp-language update # update languages definition to the latest version
nexssp-language status # status - handy for dev of the languages

Example: nexssp-language installed

Over 50 programming languages to choose.

image

Example: nexssp-language list

List of supported languages

image

Repositories

@nexssp/language usege external repositories for all languages. List of them is located in the src/nexssp-language-repos.json file.

const languages = require('@nexssp/languages')

console.log(languages.list()) // Displays all available languages (extensions and repositories associated)
console.log(languages.languageNames()) // From start, @nexssp/languages has no languages installed. They are installed on demand, so here you will have a lit of installed languages.

// Select language
const selectedLanguage = languages.byFilename('myfile.js') // Gets information by Extension
const selectedLanguage = languages.byExtension('js') // Gets information by Extension

// Compilers
selectedLanguage.compiler() // Gets default compiler
selectedLanguage.compiler('python3') // Gets named compiler
selectedLanguage.compiler('python3', true) // Will continue on error (second parameter true)
selectedLanguage.builder() // Gets builder information, also as above
selectedLanguage.getCompilerOrBuilder() // Will find compiler, if not there will find builder

selectedLanguage.config() // Gets while config

Troubleshooting

Environment variables

  • NEXSS_LANGUAGE_ENABLE_PROJECT_FOLDER - enable also search in current/project folder
process.env.NEXSS_LANGUAGE_ENABLE_PROJECT_FOLDER = true

Keywords

FAQs

Package last updated on 25 Oct 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