Socket
Socket
Sign inDemoInstall

jsonresume-theme-timeline

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsonresume-theme-timeline - npm Package Compare versions

Comparing version 0.0.0 to 0.0.1

contact.php

15

index.js

@@ -0,4 +1,17 @@

var fs = require('fs');
var path = require('path');
var _ = require('lodash');
var Mustache = require('mustache');
function render (resume) {
return 'my template';
var cssbootstrap = fs.readFileSync(path.resolve(__dirname, 'css','bootstrap.css'), 'utf8');
var csscustom = fs.readFileSync(path.resolve(__dirname, 'css','custom.css'), 'utf8');
var cssdark = fs.readFileSync(path.resolve(__dirname, 'css','dark.css'), 'utf8');
var template = fs.readFileSync(path.resolve(__dirname, 'index.html'), 'utf8');
var html = Mustache.render(template, {resume:resume, csscustom:csscustom, cssbootstrap: cssbootstrap, cssdark:cssdark} );
return html;
}
module.exports = { render: render };

9

package.json
{
"name": "jsonresume-theme-timeline",
"version": "0.0.0",
"version": "0.0.1",
"description": "",

@@ -10,3 +10,8 @@ "main": "index.js",

"author": "",
"license": "ISC"
"license": "ISC",
"dependencies": {
"lodash": "^2.4.1",
"mustache": "^0.8.2",
"resume-schema": "0.0.11"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc