cs-demo-data
v2.1.1
Published
A helper as demo database on JS project. (Demo Post, Student Data, Team Members)
Downloads
11
Maintainers
Readme
CS Demo Data
This package has some different types of demo data like "Student Data", "Team Members Data", and "Demo Post Content".
Developers can simply import those data and use it directly on their project.
Installation
To install this package, you first need Node js. Then open terminal from your code editor and command bellow code
To install on dependencies run this code - Recommended
$ npm install cs-demo-data
To install on devDependencies run this code
$ npm install cs-demo-data -D
Installation done !
Usage
There has 3types of demo data you any of them base on your project requirements.
Student Demo Data:
This module data you can use to build any education board result app. Their has all nessesary students data with subject name, marks, and code.
import { studentData } from "./data";
studentData.map((item) => {
const studentName = item.Name;
console.log(studentName);
});
Team Members Demo Data:
Using this module you can build team member section. There has team members Name, Role / Skill, Photo, and Scial Links.
import { teamMembers } from "./data";
teamMembers.map((item) => {
const memberName = item.name;
console.log(memberName);
});
Post Demo Data:
This module data you can use to build any Blog archive, News section.
import { demoPost } from "./data";
demoPost.map((item) => {
const postTitle = item.title;
console.log(postTitle);
});