0.0.6 • Published 5 years ago

screeps-fns v0.0.6

Weekly downloads
5
License
MIT
Repository
github
Last release
5 years ago

Screeps-fns

Build Status Coverage Status

Screeps-fns is designed to be a date-fns like library for screeps.

Some of its functions are very basic, for example isRoomVisible is a one liner. The idea is to make your code more readable AND prevent future issues from API changes.

Install

npm install --save screeps-fns

Usage

To keep your bundle size down you can require functions directly. For example

const ivm = require('screeps-fns/lib/ivm')

or you can import from the module like so:

import {ivm} from 'screeps-fns'

both methods work fine but importing may add more code than needed.

Functions

For a list of functions and documentation head to screep-fns

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago

0.0.0

5 years ago