JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 579
  • Score
    100M100P100Q86045F
  • License MIT

Alternative to @rbxts/make to increase Typescript speed.

Package Exports

  • @rbxts/altmake
  • @rbxts/altmake/out/init.lua

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@rbxts/altmake) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Altmake

An alternative to @rbxts/make which removes children rebuilding to try to get a bit of a speedup, since it's painfully slow to use, at least for me. I also added the ability to add a single child without turning it into an array. Overall it's only marginally slower and I like using it more so, use it if you want.

Like in @rbxts/make, all properties are applied, then children, then finally the parent.

Example

const part = Make('Part', {
    Parent: Workspace,
    Name: "Look at me, I'm a Part!",
    Touched: (hit) => print(`Get away from me ${hit.Parent ? hit.Parent : hit}!`)
    Children: Make('Part'),
});