1.0.2 • Published 3 years ago

jsmp-infra-task6-package v1.0.2

Weekly downloads
5
License
ISC
Repository
-
Last release
3 years ago

Homework 6

Introduction into web infrastructure. Introduction and package managers

Description

This package provides such methods:

  • chunkArray splits an array into parts of determined size;
  • stringToCamelCase transforms string to the camelCase string

Installing

Install with npm:

$ npm install jsmp-infra-task6-package

Usage

const {
  chunkArray,
  stringToCamelCase 
} = require('jsmp-infra-task6-package');
 
chunkArray([1, 2, 3, 4, 5], 2); // returns [[1, 2], [3, 4], [5]]
 
convertStringToCamelCase('__FOO_BAR__'); // returns 'fooBar'

Running the tests

You can run library with the following command to clean working directory, compile code from source and test this:

$ npm run build

Authors

  • d.chumeiko

License

ISC

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago