As you have seen so far, packages are very useful, besides they can also be simple to create. We will run through some of the basics in this section while creating a text manipulation package.
The first thing to do is set up a repository. Like in the previous chapter, we will use GitHub.
We will be creating a package called Journal String; this will have a repository name of journal-string
. Ordinarily, it is recommend to use something like Fuel String, but since this is a simple example, it's not necessary to include Fuel within the title of the package.
We will be using the new repository as a submodule within the journal project, so make sure you make a note of the repository address, which will be something like [email protected]:digitales/journal-string.git
.