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

yaktor-lang

v0.54.1

Published

Generates Node.js source for Yaktor applications

Downloads

22

Readme

yaktor-lang

master status Maven Central license Gitter npm Coveralls status

Generate Node.js code from Yaktor Domain and Conversation DSL files.

Description

yaktor-lang generates the default Node.js implementation for a Yaktor project based on your Yaktor Conversation (*.yc) and Domain Model (*.ydm) files. The generated code can easily be extended and enhanced without losing your changes. Additionally, you can maintain documentation which adds tremendous value to your project.

NOTE: this npm module requires java >= 1.7.0 (JRE, not the JDK).

Because this npm module is a thin wrapper around a Java command line executable jar built by yaktor-dsl-xtext, this npm module requires that java version 1.7.0 or later be on the machine's PATH where this module is run.

NOTE: if you're using Yaktor's Docker image, you will have no need for Java on your own machine.

Usage

yaktor-lang files ...

where files is a whitespace-delimited list of Yaktor Conversation (*.yc) and Domain Model (*.ydm) files.

NOTE: Run the above command from the root of your Yaktor project.

A common invocation is

find . -name '*.ydm' -o -name '*.yc'| xargs yaktor-lang

For Yaktor Developers

The following is information for those working on Yaktor itself (or the curious).

Version Correspondence Between This npm Module and the Maven Artifact

We use semver.

For generally available releases (not prereleases), the version correspondence between this npm module and the Maven artifact version is one-to-one.

For example, [email protected] will include Maven artifact io.yaktor:xtext-dsl-cli:1.0.0 (xtext-dsl-cli-1.0.0.jar), [email protected] will contain xtext-dsl-cli-1.0.1.jar, and so on. If you ever need to, you can find the executable jar in Maven Central, but, remember, it's included in the root of this npm module itself.

Prerelease versions of this npm module are signifed by a -pre.YYYYmmddHHMMSS version suffix. However, in the Maven world of yaktor-dsl-xtext, prereleases are signifed by a -SNAPSHOT suffix. The actual Maven executable jar file corresponding to a given prerelease can be found at the Maven Snapshot Repository.

For example, prerelease version 1.0.0-pre.20160725231748 of this npm module would contain Maven artifact io.yaktor:yaktor-xtext-dsl-cli:1.0.0-SNAPSHOT that was staged to Sonatype's Maven snapshot repository at 2016-07-25T23:17:48Z, but is included in the npm module simply as xtext-dsl-cli-1.0.0-SNAPSHOT.jar. All prerelease iteration numbers will map to -SNAPSHOT at a given staging second in UTC.

In order to find the jar in Maven, you'd need to browse to https://oss.sonatype.org/content/repositories/snapshots/io/yaktor/xtext-dsl-cli/1.0.0-SNAPSHOT, then look for a jar whose name is of the form xtext-dsl-cli-1.0.0-YYYYmmdd.HHMMSS-n.jar, where the timestamp is close to 20160725.231748, but may not be exactly the same due to delays incurred when promoting the jar from Maven's staging area to production.