@dcos/copychars

0.1.2Β β€’Β PublicΒ β€’Β Published

Copy Characters Build Status


πŸ‘©β€πŸ”¬ Please be aware that this package is still experimental β€” changes to the interface and underlying implementation are likely, and future development or maintenance is not guaranteed.


This package provides a function to copy characters from a string.

Example

import copychars from "@dcos/copychars";

copychars("abc-123", 4, 3);  //123

TODO

  • [ ] Document how this function differs from subsrt and slice and why one would want to use instead of the native implementations
  • [ ] Add a performance test to verify that the provided solution allows the browser to properly garbage collect strings

/@dcos/copychars/

    Package Sidebar

    Install

    npm i @dcos/copychars

    Weekly Downloads

    2

    Version

    0.1.2

    License

    Apache-2.0

    Unpacked Size

    39.2 kB

    Total Files

    19

    Last publish

    Collaborators

    • vacas5
    • mesosphere-frontend-ci
    • mesosphere-it
    • juliangieseke