Project
Expanded

Create a String Manipulation Library in JavaScript

Course info
Level
Beginner
Updated
Mar 25, 2020
Duration
2h
Table of contents
Setup
15m
Refactoring the Library
30m
Implementing Template Tags
30m
Description
Course info
Level
Beginner
Updated
Mar 25, 2020
Duration
2h
Your 10-day individual free trial includes:

Expanded library

This course and over 7,000+ additional courses from our full course library.

Hands-on library

Practice and apply knowledge faster in real-world scenarios with projects and interactive courses.
*Available on Premium only
Description

In this project we'll use modern JavaScript to refactor and extend a library for manipulating characters that mark the ends of lines in a string.

  1. Set up a command-line and module interface for the string transformation functions using JavaScript symbols and template tags.
  2. Refactor JavaScript modules using refactoring variable declarations and strings - we'll use string interpolation and raw string processing.
  3. Implement custom template tags to allow consumers of our library to quickly transform text.
Course FAQ
Course FAQ
What is string manipulation in JavaScript?

String manipulation helps developers automate certain parts of working with string values. This particular project will help devs with manipulating characters that mark the ends of lines in a string.

Who is this project for?

This project is great for Node.js and JavaScript beginners looking to start working with string manipulation functions.

What will I learn in this project?

Start with a walkthrough of setting up your environment, learn refactoring variable declarations, string interpolation and raw string processing, and finish by writing test to ensure your template tags work as expected.

What prerequisites do I need?

This beginner-level project is designed for developers with a basic working knowledge of Node.js and/or JavaScript.

About the author
About the author

AJ is a software developer who is passionate about technical education. He loves creating with code and volunteering with youth robotics programs.

More from the author
Architecting Elixir Applications with OTP
Intermediate
1h 32m
Aug 31, 2021
Elixir: The Big Picture
Beginner
44m
Mar 26, 2021