Back to home

blog/

npm

Version: 0.7.1

Last Updated: Unknown


Basic Lift Template

Use this tempalate to generate new lift projects.

Required

VariableData TypeInfo
namestringName of the blog post

Module files

1---
2basedir: content/blog
3---
4---
5date: "<%= name.split('-').filter((_data, index) => index < 3).join("-") %>"
6image: https://cdn.dennisokeeffe.com/assets/<%= name %>/main-image.png
7title: <%= _.startCase(name.split('-').filter((_data, index) => index >= 3)) %>
8description: <%= description %>
9tags: "beginner,nodejs,typescript"
10icons: "dok,nodejs,ts"
11---
12
13This post will ...
14
15Source code can be found [here](https://github.com/okeeffed/copy-replace)
16
17## Prerequisites
18
191. Basic familiarity with [npm](https://www.npmjs.com/).
202. Basic familiarity with [Node.js](https://nodejs.org/en/).
21
22## Getting started
23
24We will let `create-next-app` create the project directory `hello-world` for us:
25
26```s
27$ mkdir hello-world
28$ cd hello-world
29# Create a file to work from
30$ touch index.js
31# initialise npm project with basics
32$ npm init -y
33$ npm install TODO
34```
35
36At this stage, our project is now ready to start working with.
37
38## ...
39
40...
41
42## Summary
43
44Today's post demonstrated how to ...
45
46## Resources and further reading
47
48- [npm](https://www.npmjs.com/).
49- [Node.js](https://nodejs.org/en/).
50- [Source code](https://github.com/okeeffed/copy-replace)
51
52_Photo credit: [`user`](https://unsplash.com/@user)_

Install


Lift generate


Repository

https://github.com/okeeffed/pkg-lift-blog

Sections