{"_id":"@ansiinc/library","name":"@ansiinc/library","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@ansiinc/library","version":"1.0.0","description":"NOTE: PLEASE DISREGARD ALL JAVASCRIPT FILES (.JS)","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","test":"echo \"Error: no test specified\" && exit 1"},"dependencies":{"crypto-js":"^4.1.1","moment":"^2.29.4"},"devDependencies":{"@types/node":"^18.8.4","typescript":"^4.8.4"},"_id":"@ansiinc/library@1.0.0","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","dist":{"integrity":"sha512-0GyYPFk/YfGSOJcvcVvuWHnmRdMzZ5l2ytEF1hDAHE7uKlwEDak1ao9WNdcXLowoMA4GPDZXJtHYQJGaBQh77w==","shasum":"107b14958710382c27c39013149d8ee339a19428","tarball":"https://registry.npmjs.org/@ansiinc/library/-/library-1.0.0.tgz","fileCount":8,"unpackedSize":24038,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID0e3Viy2ShAThJPSslhs2EdoMkcvBisTcpcYc+51NXqAiAAgR5tjuh3osDoahldekNeNOiDy1SxnmOtuaeUqb4imA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjRma6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqhYA/9FXHRaq/LBkTiOBpWldei+XpQ+qaqNlTxve0YTDiLALaX9rVo\r\ne0VtkFEKghYzfnAH4UT473ilOyQ7dn+Pmfin11mTMYSwXgm79HP0/c2ljG4r\r\nbvjoyNvpAy6UHRBvKXIU7lixvx5L4WxHUhRLzn/PddyZiAukJvHh1ze+u9YX\r\n9m7VTFazyQnotWM4XHCNZCfh5+vFsfrDhVpYQD6S+xEkJhkkwjgu7bxWE0mT\r\nTQ1fq8+9MgljLvXSQXpF36AP7g3r69ykCXyItTaN39B48ig8oqtw6i3Q//HB\r\nEVIw5BSgPV4vQjhTPGx6xMWtx1Dh2YQ8FKhVj8Z1O85cAVSmckRn+CLSdYsM\r\nXTHhbkyY0X/XQmySP6djqKTZkGeVWxXl2oGo4GHaQ1nUhRhbPRQlKeJRfwq9\r\nuj0rLhXPR3JSTfpEGGGu6x6KGQCVSmiBJcU/ZRM0GfHJQKRWYzL7soUtP/PQ\r\nLtM1dw5pBSKv/LFak/i77d2U3etKpup9pBK8c7w9lQFt5fX6ftF+aiu9O57d\r\nZhvX1vAS8B6iqKDCUf4TuIUVHS8flYPRnp84dPm+FvojeYV1EKsROgniV3rA\r\nfb+6RzpCSdh7UmgjhWfV1U0fE0OkL/FWBRW782gznXLD2bmECh+MHN+R4tEA\r\nmfP61WDD/s0NVYcciixiVic6KBlLMNMLk68=\r\n=BVck\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"pauupauu09","email":"paulo.m.estrella@gmail.com"},"directories":{},"maintainers":[{"name":"arwin03","email":"arwinsoriano1@gmail.com"},{"name":"pauupauu09","email":"paulo.m.estrella@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/library_1.0.0_1665558201954_0.6038627389703903"},"_hasShrinkwrap":false}},"time":{"created":"2022-10-12T07:03:21.877Z","1.0.0":"2022-10-12T07:03:22.129Z","modified":"2022-10-12T07:03:22.314Z"},"maintainers":[{"name":"arwin03","email":"arwinsoriano1@gmail.com"},{"name":"pauupauu09","email":"paulo.m.estrella@gmail.com"}],"description":"NOTE: PLEASE DISREGARD ALL JAVASCRIPT FILES (.JS)","readme":"NOTE: PLEASE DISREGARD ALL JAVASCRIPT FILES (.JS)\r\n\r\n-Please add common functions in class commons (commons.ts)\r\n-If you wish to add new class please create another file in the root directory of this project using Typescript extension (.ts)\r\n-Our codes should be in Typescript and we should transpile it into Javascript before publishing to NPM\r\n\r\n-----------------------------------\r\nUPDATING / PUBLISHING THIS LIBRARY:\r\n-----------------------------------\r\n1) Open powershell and make sure the directory is pointed at the root of this project\r\n2) Update version in package.json and versionHistory.xvr\r\n3) Execute this command: npm run build\r\n-This build command will transpile our Typescript codes to Javascript\r\n4) Execute this command: npm login\r\n-Fill in the following:\r\nUsername: [Enter NPM Username]\r\nPassword: [Enter NPM Password]\r\nEmail: (this IS public) [Enter NPM Email]\r\nnpm notice Please check your email for a one-time password (OTP)\r\nEnter one-time password from your authenticator app: [Check Email for OTP]\r\n-On success:\r\nLogged in as [username] on https://registry.npmjs.org/.\r\n5) Execute this command: npm publish --access=public\r\n-On success:\r\n+ @ansiinc/library@1.0.0\r\nNOTE: #4 can be skipped if you have already login before\r\n\r\n\r\n-----------------------------------------\r\nINSTALLING THIS LIBRARY TO OTHER PROJECTS\r\n-----------------------------------------\r\n1) Open powershell and make sure the directory is pointed at the project's root\r\n2) Execute this command:\r\n-To install latest version of the library\r\nnpm i ansiinc/library@latest --save\r\n-To install specific version of the library (1.0.0 is a sample version):\r\nnpm i ansiinc/library@1.0.0 --save\r\n3) Import the library in your project source code:\r\nimport { clsCommons } from '@ansiinc/library/lib/index'\r\n","readmeFilename":"README.md"}