
Product
Introducing Scala and Kotlin Support in Socket
Socket now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.
functionalscript
Advanced tools
FunctionalScript is a safe, purely functional programming language and a strict subset of ECMAScript/JavaScript. It's inspired by
A working draft of the FunctionalScript specification.
Learn more about
This repository is a monorepo and distributted under AGPL-3.0. Let us know if you need another license by sending an email.
Install FunctionalScript via npm:
npm install functionalscript
The FunctionalScript compiler (fsc
) currently supports:
import
statementsconst
declarationsIt does not yet support functions or complex expressions.
Example usage with fsc
:
npx fsc example.f.js output.json
# or
npx fsc example.f.js output.f.js
FunctionalScript code can be compiled directly into either JSON or JavaScript without imports.
We aim to create a safe, cross-platform programming language that can work in any JS platform without any build step. There are thousands of programming languages, and we don't want to create another one that others must learn. Instead, we take the opposite approach: we remove everything that makes the most popular and cross-platform language unsafe, insecure, or less portable.
FunctionalScript code can be used:
In FunctionalScript:
unsafe
code, which can be found in Rust, C#, and other languages.0.6.8
fsc
can serialize as tree PR 442FAQs
FunctionalScript is a purely functional subset of JavaScript
The npm package functionalscript receives a total of 91 weekly downloads. As such, functionalscript popularity was classified as not popular.
We found that functionalscript demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
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.
Product
Socket now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.
Application Security
/Security News
Socket CEO Feross Aboukhadijeh and a16z partner Joel de la Garza discuss vibe coding, AI-driven software development, and how the rise of LLMs, despite their risks, still points toward a more secure and innovative future.
Research
/Security News
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.