Kensio Software
Home Blog Discuss a Project
Home Expertise Technologies Blog Discuss a Project
  1. Home
  2. Blog
  3. @kensio/yulin v0.16.0 adds CloudFront Functions typing support and ESLint config

@kensio/yulin v0.16.0 adds CloudFront Functions typing support and ESLint config

@kensio/yulin package v0.16.0 adds TypeScript typing support and ESLint config for AWS CloudFront Functions JS2 syntax.

Hugh Grigg · Kensio Software · Tuesday 16 Jun 2026

  • AWS
  • TypeScript
  • Node.js

Version 0.16.0 of the @kensio/yulin package adds ESLint config and typing support for CloudFront Functions JS2 syntax.

CloudFront Functions types in JavaScript / JS2 files:

/**
* @typedef {import("@kensio/yulin/cloudfront").CloudFrontFunction.Event} CloudFrontEvent
* @typedef {import("@kensio/yulin/cloudfront").CloudFrontFunction.Request} CloudFrontRequest
* @typedef {import("@kensio/yulin/cloudfront").CloudFrontFunction.Response} CloudFrontResponse
*/

CloudFront Functions types in TypeScript files:

import { type CloudFrontFunction } from "@kensio/yulin/cloudfront";

const event: CloudFrontFunction.Event = {
  // ...
};

CloudFront Functions JS2 syntax ESLint config in eslint.config.ts:

import { defineConfig } from "eslint/config";
import tseslint from "typescript-eslint";

import { cloudFrontFunctionsJs2 } from "@kensio/yulin/eslint";

export default defineConfig(
  ...tseslint.configs.recommended,
  ...cloudFrontFunctionsJs2,
);

Then you can work on CFF JS2 in .cff.js files with some basic typing and ESLint support.

Docs: https://yulinsim.dev/

GitHub: https://github.com/KensioSoftware/yulin

npm: https://www.npmjs.com/package/@kensio/yulin

Related posts

  • Video: Automated documentation website updates on GitHub and AWS
  • What to include in a test object factory
  • Keep test state inside each test case
  • @kensio/yulin adds simulated Secrets Manager
  • @kensio/yulin v0.38.0 adds simulated KMS
  • @kensio/colophon social meta image npm package

Latest posts

  • July 2026 @kensio/yulin v0.34.2 adds simulated Lambda
  • July 2026 @kensio/yulin v0.34.2 adds simulated IAM
  • July 2026 Video: Simulating AWS locally for website hosting with Yulin
  • July 2026 @kensio/yulin v0.24.0 adds simulated Route53
Kensio Software Home Blog Contact
Expertise MVP Development Web Development System Integrations APIs Database Development Cloud Software Serverless Systems E-Commerce
Technologies AWS TypeScript AWS Lambda Node.js Python Terraform PostgreSQL GCP Firebase MySQL
Elsewhere YouTube npm GitHub LinkedIn X

Kensio Software 2026