Giter Club home page Giter Club logo

luaupolyfill's Introduction

LuauPolyfill

LuauPolyfill is a package for Roblox Luau that provides Javascript functions to Luau, literally acting as a Polyfill.

What can LuauPolyfill do?

LuauPolyfill can provide Javascript functions to your code that are built in Roblox Luau. If you're a Javascript developer and you want to make deviations of your favorite packages for Luau, then LuauPolyfill may be for you! This package offers the following Javascript libraries:

  • Array
  • AssertionError (NodeJS)
  • Boolean
  • Console
  • Error
  • Math
  • Number
  • Object
  • String
  • Symbol
  • Timers

There are also a few other utilities included within LuauPolyfill. These are mainly just extras for if you want to use them. They include:

  • Map
  • Promise
  • Set
  • WeakMap
  • encodeURIComponent
  • extends
  • instanceof

Who created this?

LuauPolyfill was created by engineers at Roblox Corporation to assist with upstreams of popular Javascript tools, such as React, GraphQL, and ApolloGraphQL. However, it can be used by anyone if they so desire. This was released to Github due to it being relatively unknown and that some developers may find it useful.

How do I install this?

To install this, you will need Rojo or Foreman. Optionally, if you are a Roblox engineer or user who has Rotriever, support for that has been added too.

Wally and Selene support will be added soon.

To install this with Rojo, take a look at place.project.json and build a place in Rojo with it. Install it from Foreman via the foreman.toml file.

luaupolyfill's People

Contributors

azumanga avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.