npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@tact-lang/compiler

v1.3.0

Published

Tact is a next-gen smart contract language for TON

Downloads

7,590

Readme

Tact Language Compiler

A next-gen smart contract language for TON focused on efficiency and simplicity.

Key Resources

Community

Getting started

The easiest way to start is to use our project template and read getting started.

git clone https://github.com/tact-lang/tact-template

Installation

TACT is distributed via NPM, to install tact into your project, you need:

yarn add @tact-lang/compiler

TACT doesn't have development environment dependencies and has everything built in. TACT's stdlib also distributed together with a compiler.

For Visual Studio Code syntax support, please download the Tact extension.

10 Commandments of Tact

We have formed a large-scale vision for the philosophy of Tact to make sure that community has something to refer to.

  1. Familiar syntax Tact features modern post-C syntax familiar to developers who know TypeScript, Swift, Kotlin and Rust.

  2. First-class data structures Tact makes it easy to declare, decode and encode data structures according to their TL-B schemas.

  3. Safe contract interfaces and ABI Tact offers strong compile-time checks for contract interfaces, typed addresses and lets describe messages natively in a subset of TL-B.

  4. Message dispatch Tact offers a convenient yet flexible way to declare, receive and send messages between contracts.

  5. Plaintext commands Tact offers an innovative way for securely sending commands to the contracts by the users using plaintext commands that are parsed on-chain.

  6. Composition of contracts Tact offers traits to extract commonly used behaviors into reusable and verified components.

  7. Statically bounded iterators Tact offers convenient iterators and arrays are bounded and do not hurt scalability of the contracts.

  8. Batteries-included standard library Tact comes with a rich standard library that offers data handling functions and standardized behaviors.

  9. Interactive Tact comes with a live playground, explorer and easy to use deployment tools.

  10. Verifiable Tact produces deterministic builds. Compiler helps analyze gas usage and storage costs.

License

MIT