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

elm-tigershark

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

elm-tigershark

conversations between a tree and a fish

  • 0.0.8
  • Source
  • npm
  • Socket score

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

elm-tigershark

WIP/Exploratory project for generating TypeScript type declarations for Elm programs. Based off of elm-typescript-interop.

Roadmap to 1.0.0

  • Setup TypeScript and Elm project
  • Setup Elm testing
  • Use elm-syntax to parse main module source and extract relivent ASTs
  • Convert interoperable Elm types into TypeScript types
  • Add types for flags
  • Add types for all ports in file
  • Parse a single module to a declaration file
  • CLI tool
  • Resolve type aliases
  • Include imported ports
  • Multi-module parsing
  • Good error messages, CLI enhancements
  • Real README documentation

Later enhancements

Things I'm thinking about now, but should be done later.

  • Support pre-0.19 Elm.
  • Write custom "isPortsModule" parser so that we don't have to fully parse every imported module to find ones that use ports.
  • Auto generate TS types, encoders, and decoders for message passing ports

The name

This isn't a useful tool yet so it doesn't have a useful tool name. TypeScript and Tigershark sound a bit similar. That's all I've got.

FAQs

Package last updated on 12 Apr 2020

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