Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
GitHub Repository: https://github.com/samchon/tstl
STL (Standard Template Library) Containers and Algorithms for TypeScript.
TypeScript-STL is an open-source JavaScript library providing containers and algorithms migrated from C++ STL. You can enjoy STL containers and algorithms in JavaScript. If TypeScript, you will be much happier feeling like using originla STL with type restriction and template programming.
You can learn and explore about TSTL more deeply with such below:
Installing TSTL in node is very easy. Just install with npm and tsd.
# Install TSTL from NPM modules
npm install --save tstl
# If you need only header, then fetch from the @types
npm install --save @types/tstl
/// <reference types="tstl" />
import std = require("tstl");
let map: std.TreeMap<string, number> = new std.TreeMap<string, number>();
map.insert(std.make_pair("First", 1));
map.insert(["Second", 2]);
map.insert_or_assign("Third", 3); // C++17 Feature.
map.set("Fourth", 4); // Non-standard Feature.
for (let it = map.begin(); !it.equals(map.end()); it = it.next())
console.log(it.first, it.second); // key => string, value => number
TSTL follows CommonJS module.
Use browserify or just include TSTL's js file with <script>
tag.
<script src="tstl.js"></script>
FAQs
TypeScript-STL (Standard Template Library, migrated from C++)
The npm package tstl receives a total of 11,288 weekly downloads. As such, tstl popularity was classified as popular.
We found that tstl 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.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.